aacdec_usac: remove fallback for custom maps with invalid position

Not needed as every possible index is mapped.
This commit is contained in:
Lynne 2024-06-05 18:43:08 +02:00
parent 91ab17e2fe
commit ae495b56ff
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
1 changed files with 0 additions and 2 deletions

View File

@ -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,