This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit c21583c4ba84b33501f053de496e8022b9d86599 Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Jul 10 02:34:59 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue Jul 21 22:59:57 2026 +0200 avcodec/vorbisdec: skip the MDCT for unused channels Fixes: Timeout Fixes: 490144337/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VORBIS_DEC_fuzzer-4539724776931328 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg (cherry picked from commit 7a39c205ae90f3691a9996a69e7a52c06312ad32) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/vorbisdec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c index ba99c01307..aeea1b4908 100644 --- a/libavcodec/vorbisdec.c +++ b/libavcodec/vorbisdec.c @@ -1740,6 +1740,10 @@ static int vorbis_parse_audio_packet(vorbis_context *vc, float **floor_ptr) for (j = vc->audio_channels-1;j >= 0; j--) { ch_res_ptr = vc->channel_residues + res_chan[j] * blocksize / 2; + if (no_residue[j]) { + memset(ch_res_ptr, 0, (blocksize / 2) * sizeof(float)); + continue; + } vc->fdsp->vector_fmul(floor_ptr[j], floor_ptr[j], ch_res_ptr, blocksize / 2); mdct_fn(mdct, ch_res_ptr, floor_ptr[j], sizeof(float)); } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
