[FFmpeg-cvslog] avformat/flvdec: also include file position in debug output
Michael Niedermayer
git at videolan.org
Wed Apr 23 06:57:21 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 23 02:21:27 2014 +0200| [b9017fdd426d91a88d63cb51da5e03cb7704b85d] | committer: Michael Niedermayer
avformat/flvdec: also include file position in debug output
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9017fdd426d91a88d63cb51da5e03cb7704b85d
---
libavformat/flvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index f8c08bc..759979f 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -772,7 +772,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
size = avio_rb24(s->pb);
dts = avio_rb24(s->pb);
dts |= avio_r8(s->pb) << 24;
- av_dlog(s, "type:%d, size:%d, dts:%"PRId64"\n", type, size, dts);
+ av_dlog(s, "type:%d, size:%d, dts:%"PRId64" pos:%"PRId64"\n", type, size, dts, avio_tell(s->pb));
if (url_feof(s->pb))
return AVERROR_EOF;
avio_skip(s->pb, 3); /* stream id, always 0 */
More information about the ffmpeg-cvslog
mailing list