[FFmpeg-cvslog] r25676 - trunk/libavcodec/aacdec.c

janne subversion
Thu Nov 4 22:00:01 CET 2010


Author: janne
Date: Thu Nov  4 22:00:01 2010
New Revision: 25676

Log:
aacdec: consume the audio specific config during LATM parsing

Spotted by Alex after Carl Eugen found errors some samples. There no errors or
noticeable artifacts in the samples I used during development.

Modified:
   trunk/libavcodec/aacdec.c

Modified: trunk/libavcodec/aacdec.c
==============================================================================
--- trunk/libavcodec/aacdec.c	Thu Nov  4 21:37:52 2010	(r25675)
+++ trunk/libavcodec/aacdec.c	Thu Nov  4 22:00:01 2010	(r25676)
@@ -2155,6 +2155,8 @@ static int latm_decode_audio_specific_co
         avctx->extradata_size = esize;
         memcpy(avctx->extradata, gb->buffer + (config_start_bit/8), esize);
         memset(avctx->extradata+esize, 0, FF_INPUT_BUFFER_PADDING_SIZE);
+
+        skip_bits_long(gb, bits_consumed);
     }
 
     return bits_consumed;



More information about the ffmpeg-cvslog mailing list