diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-23 04:21:27 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-23 05:55:41 +0400 |
commit | b9017fdd426d91a88d63cb51da5e03cb7704b85d (patch) | |
tree | 87307f70ed56ad5c1205b9f85c47792c7ab9dc03 /libavformat/flvdec.c | |
parent | e79b15f5f1aeddcd0aeac7f34642752893f06705 (diff) |
avformat/flvdec: also include file position in debug output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index f8c08bcd97..759979f2df 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 */ |