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 9eb6f2f450 avcodec/aacenc: fix PCE layouts for 7.1 and 7.1(wide)
9eb6f2f450 is described below

commit 9eb6f2f4508b7945240ce24963734fe25f3d7429
Author:     James Almer <[email protected]>
AuthorDate: Tue Jun 9 15:31:25 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Tue Jun 9 15:33:20 2026 -0300

    avcodec/aacenc: fix PCE layouts for 7.1 and 7.1(wide)
    
    Signed-off-by: James Almer <[email protected]>
---
 libavcodec/aacenc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index f221d79ed3..b64ac88a0a 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -278,15 +278,15 @@ static const AACPCEInfo aac_pce_configs[] = {
         .pairing = { { 0, 1, 1 }, { 0 }, { 1 }, },
         .index = { { 0, 0, 1 }, { 0 }, { 2 }, { 0 }, },
         .config_map = { 5, TYPE_SCE, TYPE_CPE, TYPE_CPE, TYPE_CPE, TYPE_LFE },
-        .reorder_map = { 2, 0, 1, 4, 5, 6, 7, 3 },
+        .reorder_map = { 2, 4, 5, 0, 1, 6, 7, 3 },
     },
     {
         .layout = AV_CHANNEL_LAYOUT_7POINT1_WIDE_BACK,
         .num_ele = { 3, 0, 1, 1 },
         .pairing = { { 0, 1, 1 }, { 0 }, { 1 } },
-        .index = { { 0, 0, 2 }, { 0 }, { 1 }, { 0 } },
+        .index = { { 0, 0, 1 }, { 0 }, { 2 }, { 0 } },
         .config_map = { 5, TYPE_SCE, TYPE_CPE, TYPE_CPE, TYPE_CPE, TYPE_LFE },
-        .reorder_map = { 2, 0, 1, 4, 5, 6, 7, 3 },
+        .reorder_map = { 2, 6, 7, 0, 1, 4, 5, 3 },
     },
     {
         .layout = AV_CHANNEL_LAYOUT_OCTAGONAL,

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

Reply via email to