avcodec/tiff: Pass max_pixels to mjpeg context
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d6c16f42ccebca917bb9861c619abcf71ab25762) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e2ae9adbe1
commit
24da8685f0
@ -2169,6 +2169,7 @@ static av_cold int tiff_init(AVCodecContext *avctx)
|
||||
s->avctx_mjpeg->flags2 = avctx->flags2;
|
||||
s->avctx_mjpeg->dct_algo = avctx->dct_algo;
|
||||
s->avctx_mjpeg->idct_algo = avctx->idct_algo;
|
||||
s->avctx_mjpeg->max_pixels = avctx->max_pixels;
|
||||
ret = avcodec_open2(s->avctx_mjpeg, codec, NULL);
|
||||
if (ret < 0) {
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user