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 1d45522806 avcodec/aacenc: remove excess initializers
1d45522806 is described below
commit 1d45522806c30863b05ee893425c638c47bb2f6c
Author: James Almer <[email protected]>
AuthorDate: Thu Jun 4 13:44:28 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Thu Jun 4 13:44:28 2026 -0300
avcodec/aacenc: remove excess initializers
pairing has only three elements.
Signed-off-by: James Almer <[email protected]>
---
libavcodec/aacenc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 0d0dcb5126..f221d79ed3 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -227,7 +227,7 @@ static const AACPCEInfo aac_pce_configs[] = {
{
.layout = AV_CHANNEL_LAYOUT_6POINT1,
.num_ele = { 2, 0, 2, 1 },
- .pairing = { { 0, 1 }, { 0 }, { 1, 0 }, { 0 }, },
+ .pairing = { { 0, 1 }, { 0 }, { 1, 0 }, },
.index = { { 0, 0 }, { 0 }, { 1, 1 }, { 0 } },
.config_map = { 5, TYPE_SCE, TYPE_CPE, TYPE_CPE, TYPE_SCE, TYPE_LFE },
.reorder_map = { 2, 0, 1, 5, 6, 4, 3 },
@@ -235,7 +235,7 @@ static const AACPCEInfo aac_pce_configs[] = {
{
.layout = AV_CHANNEL_LAYOUT_6POINT1_BACK,
.num_ele = { 2, 0, 2, 1 },
- .pairing = { { 0, 1 },{ 0 },{ 1, 0 },{ 0 } },
+ .pairing = { { 0, 1 },{ 0 },{ 1, 0 }, },
.index = { { 0, 0 },{ 0 },{ 1, 1 },{ 0 } },
.config_map = { 5, TYPE_SCE, TYPE_CPE, TYPE_CPE, TYPE_SCE, TYPE_LFE },
.reorder_map = { 2, 0, 1, 4, 5, 6, 3 },
@@ -243,7 +243,7 @@ static const AACPCEInfo aac_pce_configs[] = {
{
.layout = AV_CHANNEL_LAYOUT_6POINT1_FRONT,
.num_ele = { 2, 0, 1, 1 },
- .pairing = { { 1, 1 }, { 0 }, { 1 }, { 0 }, },
+ .pairing = { { 1, 1 }, { 0 }, { 1 }, },
.index = { { 0, 1 }, { 0 }, { 2 }, { 0 }, },
.config_map = { 3, TYPE_CPE, TYPE_CPE, TYPE_CPE, TYPE_LFE, },
.reorder_map = { 0, 1, 3, 4, 5, 6, 2 },
@@ -275,7 +275,7 @@ static const AACPCEInfo aac_pce_configs[] = {
{
.layout = AV_CHANNEL_LAYOUT_7POINT1_WIDE,
.num_ele = { 3, 0, 1, 1 },
- .pairing = { { 0, 1, 1 }, { 0 }, { 1 }, { 0 }, },
+ .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 },
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]