aacdec_usac: do not continue parsing bitstream on core_mode == 1

Although LPD is not functional yet, the bitstream ends at that point.
This commit is contained in:
Lynne 2024-06-06 02:51:51 +02:00
parent 8ecaa64b9b
commit c0fdb0cdfd
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
1 changed files with 1 additions and 0 deletions

View File

@ -1301,6 +1301,7 @@ static int decode_usac_core_coder(AACDecContext *ac, AACUSACConfig *usac,
ret = ff_aac_ldp_parse_channel_stream(ac, usac, ue, gb);
if (ret < 0)
return ret;
continue;
}
if ((nb_channels == 1) ||