[FFmpeg-cvslog] avformat/avidec: also print position in print_tag()
Michael Niedermayer
git at videolan.org
Fri Nov 22 01:37:50 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 22 00:27:08 2013 +0100| [7c98c834e0a2855d5c612fd22f6f2826c1116a9a] | committer: Michael Niedermayer
avformat/avidec: also print position in print_tag()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c98c834e0a2855d5c612fd22f6f2826c1116a9a
---
libavformat/avidec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 1a40e94..8028ecb 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, \
More information about the ffmpeg-cvslog
mailing list