diff options
author | Lynne <dev@lynne.ee> | 2024-06-05 18:43:08 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-06-08 00:22:37 +0200 |
commit | ae495b56ffc9a80fffe608e5ef42720ea968952d (patch) | |
tree | b6305356b37a471db277bfcfbacc1f1a7f47011a | |
parent | 91ab17e2fe57d5c093f9a2c63342e58df6cf024b (diff) | |
download | ffmpeg-ae495b56ffc9a80fffe608e5ef42720ea968952d.tar.gz |
aacdec_usac: remove fallback for custom maps with invalid position
Not needed as every possible index is mapped.
-rw-r--r-- | libavcodec/aac/aacdec_usac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c index b12eda90e1..04dd5facff 100644 --- a/libavcodec/aac/aacdec_usac.c +++ b/libavcodec/aac/aacdec_usac.c @@ -371,8 +371,6 @@ int ff_aac_usac_config_decode(AACDecContext *ac, AVCodecContext *avctx, for (int i = 0; i < nb_channels; i++) { AVChannelCustom *cm = &ac->oc[1].ch_layout.u.map[i]; cm->id = usac_ch_pos_to_av[get_bits(gb, 5)]; /* bsOutputChannelPos */ - if (cm->id == AV_CHAN_NONE) - cm->id = AV_CHAN_UNKNOWN; } ret = av_channel_layout_retype(&ac->oc[1].ch_layout, |