This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/8.0
in repository ffmpeg.

commit 571be3dc1603a1b6af63a5201b7ec9bf40b44b87
Author:     Nicolas Gaullier <[email protected]>
AuthorDate: Tue Aug 12 12:35:17 2025 +0200
Commit:     James Almer <[email protected]>
CommitDate: Wed Dec 10 14:09:51 2025 -0300

    avcodec/aac_ac3_parser: simplify
    
    Use ff_adts_header_parse_buf() wrapper to simplify as GetBitContext is
    no longer needed (it was introduced for USAC).
    
    Partially reverts 64bb91fd3b5a00a8849531c7e8dd207f2a626096.
    
    Signed-off-by: Nicolas Gaullier <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 593b4269027ea6d514b8505d317f6f131693c84e)
---
 libavcodec/aac_ac3_parser.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c
index ced640dd28..b49ce0277c 100644
--- a/libavcodec/aac_ac3_parser.c
+++ b/libavcodec/aac_ac3_parser.c
@@ -147,11 +147,9 @@ get_next:
         } else {
 #if CONFIG_AAC_PARSER
             AACADTSHeaderInfo hdr;
-            GetBitContext gb;
 
-            init_get_bits8(&gb, buf, buf_size);
             if (buf_size < AV_AAC_ADTS_HEADER_SIZE ||
-                ff_adts_header_parse(&gb, &hdr) < 0)
+                ff_adts_header_parse_buf(buf, &hdr) < 0)
                 return i;
 
             avctx->profile = hdr.object_type - 1;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to