diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-12-17 20:43:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-04-06 20:27:35 +0200 |
commit | 24da8685f00fd8f0da646dd48d3e3103072e8f26 (patch) | |
tree | 194f4c1e88da2916db31fd1292aae6e2df6cb8c8 /libavcodec/tiff.c | |
parent | e2ae9adbe1c223232fded0e236c103bf26f289e7 (diff) | |
download | ffmpeg-24da8685f00fd8f0da646dd48d3e3103072e8f26.tar.gz |
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>
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r-- | libavcodec/tiff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index f8c68f1e7d..7d65da8e9a 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -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; |