summaryrefslogtreecommitdiff
path: root/libavcodec/vqavideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-20 03:34:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-20 04:10:10 +0200
commit8f7b022c8c2f40bf8ddfd90778a4c91424d3a8e5 (patch)
tree2bc0615cc0d4a8ad47932dae2be2b6c3c1a82f9e /libavcodec/vqavideo.c
parent40d552dae657d2d690a724c8b1e7ea714998d74f (diff)
parent6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25 (diff)
downloadffmpeg-8f7b022c8c2f40bf8ddfd90778a4c91424d3a8e5.tar.gz
Merge commit '6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25'
* commit '6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25': lavc: Replace av_dlog and tprintf with internal macros Conflicts: libavcodec/aacdec.c libavcodec/audio_frame_queue.c libavcodec/bitstream.c libavcodec/dcadec.c libavcodec/dnxhddec.c libavcodec/dvbsubdec.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/get_bits.h libavcodec/gifdec.c libavcodec/h264.h libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/h264_loopfilter.c libavcodec/h264_refs.c libavcodec/imc.c libavcodec/interplayvideo.c libavcodec/jpeglsdec.c libavcodec/libopencore-amr.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_parser.c libavcodec/pngdec.c libavcodec/ratecontrol.c libavcodec/rv10.c libavcodec/svq1dec.c libavcodec/vqavideo.c libavcodec/wmadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vqavideo.c')
-rw-r--r--libavcodec/vqavideo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index 4dcebd4849..7d838c4536 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -234,7 +234,7 @@ static int decode_format80(VqaContext *s, int src_size,
start = bytestream2_tell(&s->gb);
while (bytestream2_tell(&s->gb) - start < src_size) {
opcode = bytestream2_get_byte(&s->gb);
- av_dlog(s->avctx, "opcode %02X: ", opcode);
+ ff_dlog(s->avctx, "opcode %02X: ", opcode);
/* 0x80 means that frame is finished */
if (opcode == 0x80)
@@ -250,7 +250,7 @@ static int decode_format80(VqaContext *s, int src_size,
count = bytestream2_get_le16(&s->gb);
src_pos = bytestream2_get_le16(&s->gb);
- av_dlog(s->avctx, "(1) copy %X bytes from absolute pos %X\n", count, src_pos);
+ ff_dlog(s->avctx, "(1) copy %X bytes from absolute pos %X\n", count, src_pos);
CHECK_COUNT();
CHECK_COPY(src_pos);
for (i = 0; i < count; i++)
@@ -261,7 +261,7 @@ static int decode_format80(VqaContext *s, int src_size,
count = bytestream2_get_le16(&s->gb);
color = bytestream2_get_byte(&s->gb);
- av_dlog(s->avctx, "(2) set %X bytes to %02X\n", count, color);
+ ff_dlog(s->avctx, "(2) set %X bytes to %02X\n", count, color);
CHECK_COUNT();
memset(&dest[dest_index], color, count);
dest_index += count;
@@ -270,7 +270,7 @@ static int decode_format80(VqaContext *s, int src_size,
count = (opcode & 0x3F) + 3;
src_pos = bytestream2_get_le16(&s->gb);
- av_dlog(s->avctx, "(3) copy %X bytes from absolute pos %X\n", count, src_pos);
+ ff_dlog(s->avctx, "(3) copy %X bytes from absolute pos %X\n", count, src_pos);
CHECK_COUNT();
CHECK_COPY(src_pos);
for (i = 0; i < count; i++)
@@ -280,7 +280,7 @@ static int decode_format80(VqaContext *s, int src_size,
} else if (opcode > 0x80) {
count = opcode & 0x3F;
- av_dlog(s->avctx, "(4) copy %X bytes from source to dest\n", count);
+ ff_dlog(s->avctx, "(4) copy %X bytes from source to dest\n", count);
CHECK_COUNT();
bytestream2_get_buffer(&s->gb, &dest[dest_index], count);
dest_index += count;
@@ -289,7 +289,7 @@ static int decode_format80(VqaContext *s, int src_size,
count = ((opcode & 0x70) >> 4) + 3;
src_pos = bytestream2_get_byte(&s->gb) | ((opcode & 0x0F) << 8);
- av_dlog(s->avctx, "(5) copy %X bytes from relpos %X\n", count, src_pos);
+ ff_dlog(s->avctx, "(5) copy %X bytes from relpos %X\n", count, src_pos);
CHECK_COUNT();
CHECK_COPY(dest_index - src_pos);
for (i = 0; i < count; i++)