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 7a39c205ae avcodec/vorbisdec: skip the MDCT for unused channels
7a39c205ae is described below
commit 7a39c205ae90f3691a9996a69e7a52c06312ad32
Author: Michael Niedermayer <[email protected]>
AuthorDate: Fri Jul 10 02:34:59 2026 +0200
Commit: michaelni <[email protected]>
CommitDate: Mon Jul 13 00:58:16 2026 +0000
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
---
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]