[FFmpeg-cvslog] avcodec/tiff: Pass max_pixels to mjpeg context
Michael Niedermayer
git at videolan.org
Wed Apr 6 21:33:09 EEST 2022
ffmpeg | branch: release/4.4 | Michael Niedermayer <michael at niedermayer.cc> | Fri Dec 17 20:43:15 2021 +0100| [24da8685f00fd8f0da646dd48d3e3103072e8f26] | committer: Michael Niedermayer
avcodec/tiff: Pass max_pixels to mjpeg context
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit d6c16f42ccebca917bb9861c619abcf71ab25762)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24da8685f00fd8f0da646dd48d3e3103072e8f26
---
libavcodec/tiff.c | 1 +
1 file changed, 1 insertion(+)
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;
More information about the ffmpeg-cvslog
mailing list