mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
aacdec_usac: remove fallback for custom maps with invalid position
Not needed as every possible index is mapped.
This commit is contained in:
parent
91ab17e2fe
commit
ae495b56ff
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user