1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

dxtory: change error code for unexpected slice configuration

This commit is contained in:
Kostya Shishkov 2014-01-18 14:35:47 +01:00
parent e91a3f1bdb
commit 025fd76e1a

View 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;