Revision d6f66edd libavcodec/aacdec.c

View differences:

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

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

  

Also available in: Unified diff