mirror of https://git.ffmpeg.org/ffmpeg.git
dxtory: change error code for unexpected slice configuration
This commit is contained in:
parent
e91a3f1bdb
commit
025fd76e1a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue