[FFmpeg-cvslog] dxtory: change error code for unexpected slice configuration
Kostya Shishkov
git at videolan.org
Tue Jan 21 21:25:17 CET 2014
ffmpeg | branch: master | Kostya Shishkov <kostya.shishkov at gmail.com> | Sat Jan 18 14:35:47 2014 +0100| [025fd76e1a2623c858d8c686a73cc30980a314b0] | committer: Kostya Shishkov
dxtory: change error code for unexpected slice configuration
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=025fd76e1a2623c858d8c686a73cc30980a314b0
---
libavcodec/dxtory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c
index f69b6cd..f41c26f 100644
--- a/libavcodec/dxtory.c
+++ b/libavcodec/dxtory.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list