Not needed as every possible index is mapped.
Unified · Split
| @@ -371,8 +371,6 @@ int ff_aac_usac_config_decode(AACDecContext *ac, AVCodecContext *avctx, · 370 unmodified lines | ||
| 371 | 371 | for (int i = 0; i < nb_channels; i++) { |
| 372 | 372 | AVChannelCustom *cm = &ac->oc[1].ch_layout.u.map[i]; |
| 373 | 373 | cm->id = usac_ch_pos_to_av[get_bits(gb, 5)]; /* bsOutputChannelPos */ |
| 374 | − if (cm->id == AV_CHAN_NONE) | |
| 375 | − cm->id = AV_CHAN_UNKNOWN; | |
| 376 | 374 | } |
| 377 | 375 | |
| 378 | 376 | ret = av_channel_layout_retype(&ac->oc[1].ch_layout, |