Browse Source

aacdec: update debug code to always print the processed data.

When decoding LATM, this function will not process extradata
but a different buffer.
It seems this was forgotten to update when LATM support
was added.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
tags/n0.11
Reimar Döffinger 14 years ago
parent
commit
1d130328ed
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/aacdec.c

+ 3
- 3
libavcodec/aacdec.c View File

@@ -683,9 +683,9 @@ static int decode_audio_specific_config(AACContext *ac,
GetBitContext gb;
int i;

av_dlog(avctx, "extradata size %d\n", avctx->extradata_size);
for (i = 0; i < avctx->extradata_size; i++)
av_dlog(avctx, "%02x ", avctx->extradata[i]);
av_dlog(avctx, "audio specific config size %d\n", bit_size >> 3);
for (i = 0; i < bit_size >> 3; i++)
av_dlog(avctx, "%02x ", data[i]);
av_dlog(avctx, "\n");

init_get_bits(&gb, data, bit_size);


Loading…
Cancel
Save