[FFmpeg-cvslog] aacdec_usac: tag LFE channels as such in the channel map

Lynne git at videolan.org
Sat Jun 8 01:23:04 EEST 2024


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Jun  5 18:31:52 2024 +0200| [91ab17e2fe57d5c093f9a2c63342e58df6cf024b] | committer: Lynne

aacdec_usac: tag LFE channels as such in the channel map

Missed.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91ab17e2fe57d5c093f9a2c63342e58df6cf024b
---

 libavcodec/aac/aacdec_usac.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c
index 3a573ab573..b12eda90e1 100644
--- a/libavcodec/aac/aacdec_usac.c
+++ b/libavcodec/aac/aacdec_usac.c
@@ -447,6 +447,9 @@ int ff_aac_usac_config_decode(AACDecContext *ac, AVCodecContext *avctx,
             /* LFE has no need for any configuration */
             e->tw_mdct = 0;
             e->noise_fill = 0;
+            layout_map[i][0] = TYPE_LFE;
+            layout_map[i][1] = i;
+            layout_map[i][2] = AAC_CHANNEL_LFE;
             elem_id[2]++;
             break;
         case ID_USAC_EXT: /* EXT */



More information about the ffmpeg-cvslog mailing list