diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-28 19:55:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-28 19:55:39 +0200 |
commit | 5bebd13d2d86b683717ef823677545f52ea2a12f (patch) | |
tree | 782dbbccf53b609b105e25bebc7f46d98efe6b1f | |
parent | 191dd219d9c955a379cf52b18731c334ae70e475 (diff) | |
download | ffmpeg-5bebd13d2d86b683717ef823677545f52ea2a12f.tar.gz |
avcodec/vqavideo: Use ff_tlog() for byte and opcode tracing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/vqavideo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 7d838c4536..2ad614d2a7 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); - ff_dlog(s->avctx, "opcode %02X: ", opcode); + ff_tlog(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); - ff_dlog(s->avctx, "(1) copy %X bytes from absolute pos %X\n", count, src_pos); + ff_tlog(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); - ff_dlog(s->avctx, "(2) set %X bytes to %02X\n", count, color); + ff_tlog(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); - ff_dlog(s->avctx, "(3) copy %X bytes from absolute pos %X\n", count, src_pos); + ff_tlog(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; - ff_dlog(s->avctx, "(4) copy %X bytes from source to dest\n", count); + ff_tlog(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); - ff_dlog(s->avctx, "(5) copy %X bytes from relpos %X\n", count, src_pos); + ff_tlog(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++) |