diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-22 00:27:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-22 01:29:02 +0100 |
commit | 7c98c834e0a2855d5c612fd22f6f2826c1116a9a (patch) | |
tree | 6e1489594999d18256990fa7a38d5213b7e91302 | |
parent | 50a28b13936be3e62254d5a73ab2ca6ffb001bcf (diff) | |
download | ffmpeg-7c98c834e0a2855d5c612fd22f6f2826c1116a9a.tar.gz |
avformat/avidec: also print position in print_tag()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/avidec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 1a40e94c82..8028ecbf26 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -111,8 +111,8 @@ static int avi_load_index(AVFormatContext *s); static int guess_ni_flag(AVFormatContext *s); #define print_tag(str, tag, size) \ - av_dlog(NULL, "%s: tag=%c%c%c%c size=0x%x\n", \ - str, tag & 0xff, \ + av_dlog(NULL, "pos:%"PRIX64" %s: tag=%c%c%c%c size=0x%x\n", \ + avio_tell(pb), str, tag & 0xff, \ (tag >> 8) & 0xff, \ (tag >> 16) & 0xff, \ (tag >> 24) & 0xff, \ |