avcodec/cbs_av1_syntax_template: reset seen_frame_header on sequence
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 15 Jun 2026 01:38:11 +0000 (03:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 15 Jun 2026 21:57:24 +0000 (23:57 +0200)
commitb9dc787d2857042296fe33c57bb72a9bbd6afb29
tree14303ec9e4944db694c1aafa6323d3957f8c1211
parentb6fcd2919d736ab45e0e499965288751621f571e
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 <michael@niedermayer.cc>
(cherry picked from commit fd290e2fcdd431bdce5ae7f308d22e7eaa3afa96)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cbs_av1_syntax_template.c