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 5f14108864 avcodec/libfdk-aacdec: support streams with 5 front channels
5f14108864 is described below

commit 5f14108864416ff0fbfe83fdb16eb6554d83347f
Author:     Tim Walker <[email protected]>
AuthorDate: Wed May 27 21:06:41 2026 +0200
Commit:     Tim Walker <[email protected]>
CommitDate: Wed May 27 21:06:41 2026 +0200

    avcodec/libfdk-aacdec: support streams with 5 front channels
---
 libavcodec/libfdk-aacdec.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/libfdk-aacdec.c b/libavcodec/libfdk-aacdec.c
index 8b57bb43cf..a25beff523 100644
--- a/libavcodec/libfdk-aacdec.c
+++ b/libavcodec/libfdk-aacdec.c
@@ -159,6 +159,10 @@ static int get_stream_info(AVCodecContext *avctx, AVFrame 
*frame)
            channel_counts[ACT_BACK_TOP]  + channel_counts[ACT_TOP]);
 
     switch (channel_counts[ACT_FRONT]) {
+    case 5:
+        ch_layout |= AV_CH_LAYOUT_STEREO | AV_CH_FRONT_CENTER |
+                     AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER;
+        break;
     case 4:
         ch_layout |= AV_CH_LAYOUT_STEREO | AV_CH_FRONT_LEFT_OF_CENTER |
                      AV_CH_FRONT_RIGHT_OF_CENTER;

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

Reply via email to