aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2014-01-18 14:35:47 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2014-01-21 17:47:50 +0100
commit025fd76e1a2623c858d8c686a73cc30980a314b0 (patch)
treec1a1f67ed890f78d1a44fdc95d9c2fa5232c4809 /libavcodec
parente91a3f1bdba9b4945e42c191d2e35e9844625fb4 (diff)
downloadffmpeg-025fd76e1a2623c858d8c686a73cc30980a314b0.tar.gz
dxtory: change error code for unexpected slice configuration
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dxtory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c
index f69b6cdbf9..f41c26f22a 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;