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

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

commit b9dc787d2857042296fe33c57bb72a9bbd6afb29
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Jun 15 03:38:11 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon Jun 15 23:57:24 2026 +0200

    avcodec/cbs_av1_syntax_template: reset seen_frame_header on sequence
    headers
    
    With this change CBS and the decoder appear to be in sync.
    
    Fixes: division by 0
    
    Fixes: 
501794431/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AV1_fuzzer-4792576644546560
    Fixes: 
501898692/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AV1_fuzzer-4772278394224640
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit fd290e2fcdd431bdce5ae7f308d22e7eaa3afa96)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/cbs_av1_syntax_template.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/cbs_av1_syntax_template.c 
b/libavcodec/cbs_av1_syntax_template.c
index 86b9a31614..74ab460413 100644
--- a/libavcodec/cbs_av1_syntax_template.c
+++ b/libavcodec/cbs_av1_syntax_template.c
@@ -186,10 +186,13 @@ static int FUNC(decoder_model_info)(CodedBitstreamContext 
*ctx, RWContext *rw,
 static int FUNC(sequence_header_obu)(CodedBitstreamContext *ctx, RWContext *rw,
                                      AV1RawSequenceHeader *current)
 {
+    CodedBitstreamAV1Context *priv = ctx->priv_data;
     int i, err;
 
     HEADER("Sequence Header");
 
+    priv->seen_frame_header = 0;
+
     fc(3, seq_profile, AV_PROFILE_AV1_MAIN,
                        AV_PROFILE_AV1_PROFESSIONAL);
     flag(still_picture);

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

Reply via email to