1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

aacdec_usac: correct Mps212 parsing location

It gets parsed after SBR, even if there is no SBR.
This commit is contained in:
Lynne
2025-04-28 07:57:13 +02:00
parent e80f32f3bd
commit 9c0349cca1

View File

@ -1478,12 +1478,12 @@ static int decode_usac_core_coder(AACDecContext *ac, AACUSACConfig *usac,
ret = ff_aac_sbr_decode_usac_data(ac, che, ec, gb, sbr_ch, indep_flag);
if (ret < 0)
return ret;
}
if (ec->stereo_config_index) {
avpriv_report_missing_feature(ac->avctx, "AAC USAC Mps212");
return AVERROR_PATCHWELCOME;
}
}
spectrum_decode(ac, usac, che, core_nb_channels);