summaryrefslogtreecommitdiff
path: root/libavcodec/ituh263dec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-03-16 08:57:36 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-04-19 12:41:59 +0100
commit6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25 (patch)
treee7c2aefd4766229b73aef86bf3312563f70a658c /libavcodec/ituh263dec.c
parent1a3eb042c704dea190c644def5b32c9cee8832b8 (diff)
lavc: Replace av_dlog and tprintf with internal macros
Diffstat (limited to 'libavcodec/ituh263dec.c')
-rw-r--r--libavcodec/ituh263dec.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index e198f65e10..e9e4a3555c 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh263dec.c
@@ -35,6 +35,7 @@
#include "avcodec.h"
#include "mpegvideo.h"
#include "h263.h"
+#include "internal.h"
#include "mathops.h"
#include "mpegutils.h"
#include "unary.h"
@@ -323,7 +324,7 @@ static int h263p_decode_umotion(MpegEncContext * s, int pred)
code >>= 1;
code = (sign) ? (pred - code) : (pred + code);
- av_dlog(s->avctx,"H.263+ UMV Motion = %d\n", code);
+ ff_dlog(s->avctx,"H.263+ UMV Motion = %d\n", code);
return code;
}
@@ -948,7 +949,7 @@ int ff_h263_decode_picture_header(MpegEncContext *s)
if (ufep == 1) {
/* OPPTYPE */
format = get_bits(&s->gb, 3);
- av_dlog(s->avctx, "ufep=1, format: %d\n", format);
+ ff_dlog(s->avctx, "ufep=1, format: %d\n", format);
s->custom_pcf= get_bits1(&s->gb);
s->umvplus = get_bits1(&s->gb); /* Unrestricted Motion Vector */
if (get_bits1(&s->gb) != 0) {
@@ -999,7 +1000,7 @@ int ff_h263_decode_picture_header(MpegEncContext *s)
if (format == 6) {
/* Custom Picture Format (CPFMT) */
s->aspect_ratio_info = get_bits(&s->gb, 4);
- av_dlog(s->avctx, "aspect: %d\n", s->aspect_ratio_info);
+ ff_dlog(s->avctx, "aspect: %d\n", s->aspect_ratio_info);
/* aspect ratios:
0 - forbidden
1 - 1:1
@@ -1012,7 +1013,7 @@ int ff_h263_decode_picture_header(MpegEncContext *s)
width = (get_bits(&s->gb, 9) + 1) * 4;
skip_bits1(&s->gb);
height = get_bits(&s->gb, 9) * 4;
- av_dlog(s->avctx, "\nH.263+ Custom picture: %dx%d\n",width,height);
+ ff_dlog(s->avctx, "\nH.263+ Custom picture: %dx%d\n",width,height);
if (s->aspect_ratio_info == FF_ASPECT_EXTENDED) {
/* aspected dimensions */
s->avctx->sample_aspect_ratio.num= get_bits(&s->gb, 8);