avcodec/jpeglsdec: ask for sample for "oversized image"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-04-09 23:03:09 +02:00
parent 375013e3d6
commit 020600eed1

View File

@ -114,7 +114,7 @@ int ff_jpegls_decode_lse(MJpegDecodeContext *s)
}
break;
case 4:
av_log(s->avctx, AV_LOG_ERROR, "oversize image not supported\n");
avpriv_request_sample(s->avctx, "oversize image");
return AVERROR(ENOSYS);
default:
av_log(s->avctx, AV_LOG_ERROR, "invalid id %d\n", id);