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

Git pushed a commit to branch release/8.0
in repository ffmpeg.

The following commit(s) were added to refs/heads/release/8.0 by this push:
     new 4630de429c avcodec/libfdk-aacdec: fix the check for downmix layout 
order
4630de429c is described below

commit 4630de429c93298618f48e0ec027db693c292556
Author:     James Almer <[email protected]>
AuthorDate: Tue May 19 13:13:28 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Sat Sep 19 21:09:52 2026 -0300

    avcodec/libfdk-aacdec: fix the check for downmix layout order
    
    The code reads a mask afer this check, meaning it expects NATIVE order, not
    others.
    
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit 7755d264bdec8367fec467539b20d3dc73d18b92)
---
 libavcodec/libfdk-aacdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libfdk-aacdec.c b/libavcodec/libfdk-aacdec.c
index ac221645f0..9c597c24fc 100644
--- a/libavcodec/libfdk-aacdec.c
+++ b/libavcodec/libfdk-aacdec.c
@@ -269,7 +269,7 @@ static av_cold int fdk_aac_decode_init(AVCodecContext 
*avctx)
     }
 
     if (s->downmix_layout.nb_channels > 0 &&
-        s->downmix_layout.order != AV_CHANNEL_ORDER_NATIVE) {
+        s->downmix_layout.order == AV_CHANNEL_ORDER_NATIVE) {
         int downmix_channels = -1;
 
         switch (s->downmix_layout.u.mask) {

-- 
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