aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacdec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-09 00:17:25 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-09 17:21:34 +0200
commit1d130328ed5d536b5d93bc5cbf710fffbdbcf136 (patch)
tree9995b464c06ba27f53d79c4609600841f94c5a93 /libavcodec/aacdec.c
parented68fd45d3d8ea87e38ae6d91c609b128afbe6bb (diff)
downloadffmpeg-1d130328ed5d536b5d93bc5cbf710fffbdbcf136.tar.gz
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>
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r--libavcodec/aacdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 2037c52240..57ea65eecd 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -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);