From 025fd76e1a2623c858d8c686a73cc30980a314b0 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 18 Jan 2014 14:35:47 +0100 Subject: dxtory: change error code for unexpected slice configuration --- libavcodec/dxtory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/dxtory.c') 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; -- cgit v1.2.3