dxtory: change error code for unexpected slice configuration
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 18 Jan 2014 13:35:47 +0000 (14:35 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 21 Jan 2014 16:47:50 +0000 (17:47 +0100)
libavcodec/dxtory.c

index f69b6cd..f41c26f 100644 (file)
@@ -135,7 +135,7 @@ static int dxtory_decode_v2(AVCodecContext *avctx, AVFrame *pic,
     if (!nslices || avctx->height % nslices) {
         avpriv_request_sample(avctx, "%d slices for %dx%d", nslices,
                               avctx->width, avctx->height);
-        return AVERROR(ENOSYS);
+        return AVERROR_PATCHWELCOME;
     }
 
     ref_slice_height = avctx->height / nslices;