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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 19035c35fc avcodec/mpeg4videodec: Copy studio_profile in frame-thread 
context update
19035c35fc is described below

commit 19035c35fcd332ed4025159fb1ae423f982fa19f
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Jun 24 03:43:32 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Fri Jun 26 21:17:14 2026 +0000

    avcodec/mpeg4videodec: Copy studio_profile in frame-thread context update
    
    Fixes: out of array access
    Fixes: poc.m4v / make_poc.py
    Fixes: 93KU7grvT7G1
    Fixes: f9d3841ae6 (mpeg4video: Add support for MPEG-4 Simple Studio 
Profile.)
    Found-by: VulnForge Security Research Team <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/mpeg4videodec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 3d20f7c389..9cfb3cde2d 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -3923,6 +3923,7 @@ static int mpeg4_update_thread_context(AVCodecContext 
*dst,
     s->cplx_estimation_trash_p   = s1->cplx_estimation_trash_p;
     s->cplx_estimation_trash_b   = s1->cplx_estimation_trash_b;
     s->rgb                       = s1->rgb;
+    s->h.c.studio_profile        = s1->h.c.studio_profile;
 
     s->h.skipped_last_frame      = s1->h.skipped_last_frame;
     s->h.padding_bug_score       = s1->h.padding_bug_score; // FIXME: racy

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

Reply via email to