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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7755d264bdec8367fec467539b20d3dc73d18b92
Author:     James Almer <[email protected]>
AuthorDate: Tue May 19 13:13:28 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Fri May 22 23:10:05 2026 +0000

    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]>
---
 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) {

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

Reply via email to