Commit 1d130328 authored by Reimar Döffinger's avatar Reimar Döffinger

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: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent ed68fd45
...@@ -683,9 +683,9 @@ static int decode_audio_specific_config(AACContext *ac, ...@@ -683,9 +683,9 @@ static int decode_audio_specific_config(AACContext *ac,
GetBitContext gb; GetBitContext gb;
int i; int i;
av_dlog(avctx, "extradata size %d\n", avctx->extradata_size); av_dlog(avctx, "audio specific config size %d\n", bit_size >> 3);
for (i = 0; i < avctx->extradata_size; i++) for (i = 0; i < bit_size >> 3; i++)
av_dlog(avctx, "%02x ", avctx->extradata[i]); av_dlog(avctx, "%02x ", data[i]);
av_dlog(avctx, "\n"); av_dlog(avctx, "\n");
init_get_bits(&gb, data, bit_size); init_get_bits(&gb, data, bit_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment