[FFmpeg-cvslog] aacdec_usac: do not continue parsing bitstream on core_mode == 1

Lynne git at videolan.org
Sat Jun 8 01:23:12 EEST 2024


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Thu Jun  6 02:51:51 2024 +0200| [c0fdb0cdfdbd9aff82a18402341827bf23c425f1] | committer: Lynne

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

Although LPD is not functional yet, the bitstream ends at that point.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0fdb0cdfdbd9aff82a18402341827bf23c425f1
---

 libavcodec/aac/aacdec_usac.c | 1 +
 1 file changed, 1 insertion(+)

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) ||



More information about the ffmpeg-cvslog mailing list