Commit 7c98c834 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/avidec: also print position in print_tag()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 50a28b13
...@@ -111,8 +111,8 @@ static int avi_load_index(AVFormatContext *s); ...@@ -111,8 +111,8 @@ static int avi_load_index(AVFormatContext *s);
static int guess_ni_flag(AVFormatContext *s); static int guess_ni_flag(AVFormatContext *s);
#define print_tag(str, tag, size) \ #define print_tag(str, tag, size) \
av_dlog(NULL, "%s: tag=%c%c%c%c size=0x%x\n", \ av_dlog(NULL, "pos:%"PRIX64" %s: tag=%c%c%c%c size=0x%x\n", \
str, tag & 0xff, \ avio_tell(pb), str, tag & 0xff, \
(tag >> 8) & 0xff, \ (tag >> 8) & 0xff, \
(tag >> 16) & 0xff, \ (tag >> 16) & 0xff, \
(tag >> 24) & 0xff, \ (tag >> 24) & 0xff, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment