Revision 08d804ab libavcodec/aacdec.c

View differences:

libavcodec/aacdec.c
2248 2248
                                             GetBitContext *gb)
2249 2249
{
2250 2250
    AVCodecContext *avctx = latmctx->aac_ctx.avctx;
2251
    MPEG4AudioConfig m4ac;
2252 2251
    int  config_start_bit = get_bits_count(gb);
2253 2252
    int     bits_consumed, esize;
2254 2253

  
......
2258 2257
        return AVERROR_INVALIDDATA;
2259 2258
    } else {
2260 2259
        bits_consumed =
2261
            decode_audio_specific_config(NULL, avctx, &m4ac,
2260
            decode_audio_specific_config(&latmctx->aac_ctx, avctx,
2261
                                         &latmctx->aac_ctx.m4ac,
2262 2262
                                         gb->buffer + (config_start_bit / 8),
2263 2263
                                         get_bits_left(gb) / 8);
2264 2264

  

Also available in: Unified diff