aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-06-06 02:51:51 +0200
committerLynne <dev@lynne.ee>2024-06-08 00:22:38 +0200
commitc0fdb0cdfdbd9aff82a18402341827bf23c425f1 (patch)
tree1014db4b43d5f67efe1d66bf41daebb23c5e5f01 /libavcodec
parent8ecaa64b9bceb68d9107ba5a5e8d1dfaa40bf21f (diff)
downloadffmpeg-c0fdb0cdfdbd9aff82a18402341827bf23c425f1.tar.gz
aacdec_usac: do not continue parsing bitstream on core_mode == 1
Although LPD is not functional yet, the bitstream ends at that point.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aac/aacdec_usac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c
index 3b4e980df4..9b28a9e90b 100644
--- a/libavcodec/aac/aacdec_usac.c
+++ b/libavcodec/aac/aacdec_usac.c
@@ -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) ||