[SCM] libav/experimental: aacdec: consume the audio specific config during LATM parsing

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:18:39 UTC 2013


The following commit has been merged in the experimental branch:
commit bbdee6e5f9dc50d805dd383464f73413f968c31f
Author: Janne Grunau <janne-ffmpeg at jannau.net>
Date:   Thu Nov 4 21:00:01 2010 +0000

    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.
    
    Originally committed as revision 25676 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 607b906..ab3a49a 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -2155,6 +2155,8 @@ static int latm_decode_audio_specific_config(struct LATMContext *latmctx,
         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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list