mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avcodec/tdsc: propagate max_pixels to the JPEG tile decoder
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 47f3996bdd)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -127,6 +127,7 @@ static av_cold int tdsc_init(AVCodecContext *avctx)
|
||||
ctx->jpeg_avctx->flags = avctx->flags;
|
||||
ctx->jpeg_avctx->flags2 = avctx->flags2;
|
||||
ctx->jpeg_avctx->idct_algo = avctx->idct_algo;
|
||||
ctx->jpeg_avctx->max_pixels = avctx->max_pixels;
|
||||
ret = avcodec_open2(ctx->jpeg_avctx, NULL, NULL);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user