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

Git pushed a commit to branch master
in repository ffmpeg.

commit c4ee5997604251b2b9a368c2e21fea39fb0aa7c4
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Mar 5 15:40:45 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Sat Mar 7 11:11:52 2026 +0000

    avcodec/aac/aacdec_usac_mps212: Fix invalid shift
    
    Fixes: left shift of negative value -2
    Fixes: 
487591441/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_LATM_fuzzer-6205915698364416
    
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/aac/aacdec_usac_mps212.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aac/aacdec_usac_mps212.c 
b/libavcodec/aac/aacdec_usac_mps212.c
index 17f570c518..e73665022c 100644
--- a/libavcodec/aac/aacdec_usac_mps212.c
+++ b/libavcodec/aac/aacdec_usac_mps212.c
@@ -544,7 +544,7 @@ static void coarse_to_fine(int16_t *data, enum 
AACMPSDataType data_type,
                            int start_band, int end_band)
 {
     for (int i = start_band; i < end_band; i++)
-        data[i] <<= 1;
+        data[i] *= 2;
     if (data_type == MPS_CLD) {
         for (int i = start_band; i < end_band; i++) {
             if (data[i] == -14)

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

Reply via email to