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

Git pushed a commit to branch release/7.1
in repository ffmpeg.

commit 2d6ee37238998d7731f76199891222c6e1e8f89f
Author:     Jun Zhao <[email protected]>
AuthorDate: Sun Apr 12 22:25:44 2026 +0800
Commit:     Jun Zhao <[email protected]>
CommitDate: Wed Apr 15 23:13:35 2026 +0800

    lavc/videotoolbox_vp9: fix vpcC flags offset
    
    Write the 24-bit vpcC flags field at the current cursor position after
    the version byte. The previous code wrote to p+1 instead of p, leaving
    one byte uninitialized between version and flags and shifting all
    subsequent fields (profile, level, bitdepth, etc.) by one byte.
    
    Signed-off-by: Jun Zhao <[email protected]>
    (cherry picked from commit 19c4bcae68a16ea893b0558d720dd4a2ecd58f0f)
---
 libavcodec/videotoolbox_vp9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/videotoolbox_vp9.c b/libavcodec/videotoolbox_vp9.c
index 3c7494791d..232468d512 100644
--- a/libavcodec/videotoolbox_vp9.c
+++ b/libavcodec/videotoolbox_vp9.c
@@ -83,7 +83,7 @@ CFDataRef 
ff_videotoolbox_vpcc_extradata_create(AVCodecContext *avctx)
     p = vt_extradata;
 
     *p++ = 1; /* version */
-    AV_WB24(p + 1, 0); /* flags */
+    AV_WB24(p, 0); /* flags */
     p += 3;
 
    *p++ = h->h.profile;

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

Reply via email to