diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-04-14 21:24:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-14 21:37:46 +0200 |
commit | 2b5f34f788d8419c39c9108e1ab1f5fa0d0f3e0d (patch) | |
tree | 9e7408580b16abdeab1bec895ad1133d968b7ef5 /libavcodec | |
parent | 30e2f87d2eac8f7d932698b344b32617c05e73f4 (diff) | |
download | ffmpeg-2b5f34f788d8419c39c9108e1ab1f5fa0d0f3e0d.tar.gz |
avformat, avcodec: log discard padding
Useful for debugging.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 99f254b6b4..d2b8631c9f 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2549,9 +2549,9 @@ int attribute_align_arg avcodec_decode_audio4(AVCodecContext *avctx, side= av_packet_get_side_data(avctx->internal->pkt, AV_PKT_DATA_SKIP_SAMPLES, &side_size); if(side && side_size>=10) { avctx->internal->skip_samples = AV_RL32(side); - av_log(avctx, AV_LOG_DEBUG, "skip %d samples due to side data\n", - avctx->internal->skip_samples); discard_padding = AV_RL32(side + 4); + av_log(avctx, AV_LOG_DEBUG, "skip %d / discard %d samples due to side data\n", + avctx->internal->skip_samples, (int)discard_padding); skip_reason = AV_RL8(side + 8); discard_reason = AV_RL8(side + 9); } |