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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7442df24f59109e9bee7a55c4fa40d34ed69c638
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Sep 24 19:17:46 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 11 00:52:56 2026 +0000

    avcodec/aac/aacdec_usac: check the return value of ff_aac_output_configure()
    
    ff_aac_usac_decode_frame() went on decoding the frame after the output
    configuration failed.
    
    Found during triage/review of a security report.
---
 libavcodec/aac/aacdec_usac.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c
index 1665320c1a..7a34cf63d3 100644
--- a/libavcodec/aac/aacdec_usac.c
+++ b/libavcodec/aac/aacdec_usac.c
@@ -2095,8 +2095,10 @@ int ff_aac_usac_decode_frame(AVCodecContext *avctx, 
AACDecContext *ac,
         ratio_dec = 1;
     }
 
-    ff_aac_output_configure(ac, ac->oc[1].layout_map, 
ac->oc[1].layout_map_tags,
-                            ac->oc[1].status, 0);
+    ret = ff_aac_output_configure(ac, ac->oc[1].layout_map, 
ac->oc[1].layout_map_tags,
+                                  ac->oc[1].status, 0);
+    if (ret < 0)
+        return ret;
 
     ac->avctx->profile = AV_PROFILE_AAC_USAC;
 

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to