Commit 025fd76e authored by Kostya Shishkov's avatar Kostya Shishkov

dxtory: change error code for unexpected slice configuration

parent e91a3f1b
...@@ -135,7 +135,7 @@ static int dxtory_decode_v2(AVCodecContext *avctx, AVFrame *pic, ...@@ -135,7 +135,7 @@ static int dxtory_decode_v2(AVCodecContext *avctx, AVFrame *pic,
if (!nslices || avctx->height % nslices) { if (!nslices || avctx->height % nslices) {
avpriv_request_sample(avctx, "%d slices for %dx%d", nslices, avpriv_request_sample(avctx, "%d slices for %dx%d", nslices,
avctx->width, avctx->height); avctx->width, avctx->height);
return AVERROR(ENOSYS); return AVERROR_PATCHWELCOME;
} }
ref_slice_height = avctx->height / nslices; ref_slice_height = avctx->height / nslices;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment