diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-03-16 08:57:36 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-19 12:41:59 +0100 |
commit | 6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25 (patch) | |
tree | e7c2aefd4766229b73aef86bf3312563f70a658c /libavcodec/wmv2dec.c | |
parent | 1a3eb042c704dea190c644def5b32c9cee8832b8 (diff) | |
download | ffmpeg-6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25.tar.gz |
lavc: Replace av_dlog and tprintf with internal macros
Diffstat (limited to 'libavcodec/wmv2dec.c')
-rw-r--r-- | libavcodec/wmv2dec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index d9869df5e7..6455f2f2ab 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -20,6 +20,7 @@ #include "avcodec.h" #include "h263.h" +#include "internal.h" #include "intrax8.h" #include "mathops.h" #include "mpegutils.h" @@ -426,15 +427,15 @@ int ff_wmv2_decode_mb(MpegEncContext *s, int16_t block[6][64]) } } else { if (s->pict_type == AV_PICTURE_TYPE_P) - av_dlog(s->avctx, "%d%d ", s->inter_intra_pred, cbp); - av_dlog(s->avctx, "I at %d %d %d %06X\n", s->mb_x, s->mb_y, + ff_dlog(s->avctx, "%d%d ", s->inter_intra_pred, cbp); + ff_dlog(s->avctx, "I at %d %d %d %06X\n", s->mb_x, s->mb_y, ((cbp & 3) ? 1 : 0) + ((cbp & 0x3C) ? 2 : 0), show_bits(&s->gb, 24)); s->ac_pred = get_bits1(&s->gb); if (s->inter_intra_pred) { s->h263_aic_dir = get_vlc2(&s->gb, ff_inter_intra_vlc.table, INTER_INTRA_VLC_BITS, 1); - av_dlog(s->avctx, "%d%d %d %d/", + ff_dlog(s->avctx, "%d%d %d %d/", s->ac_pred, s->h263_aic_dir, s->mb_x, s->mb_y); } if (s->per_mb_rl_table && cbp) { |