This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 47f3996bdd1069b4e46dfcc7ad6c887c2af408e0
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun May 31 21:26:52 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Wed Jun 3 20:35:41 2026 +0000

    avcodec/tdsc: propagate max_pixels to the JPEG tile decoder
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/tdsc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/tdsc.c b/libavcodec/tdsc.c
index 91ea17df76..e8d37a4e3f 100644
--- a/libavcodec/tdsc.c
+++ b/libavcodec/tdsc.c
@@ -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;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to