History

avformat/flvdec: also include file position in debug output

Michael Niedermayer committed 12 years ago

Commit b9017fd1 parent e79b15f1 file · +1 −1Browse files

Unified · Split

libavformat/flvdec.c+1−1
@@ -772,7 +772,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) · 771 unmodified lines
772772 size = avio_rb24(s->pb);
773773 dts = avio_rb24(s->pb);
774774 dts |= avio_r8(s->pb) << 24;
775− av_dlog(s, "type:%d, size:%d, dts:%"PRId64"\n", type, size, dts);
775+ av_dlog(s, "type:%d, size:%d, dts:%"PRId64" pos:%"PRId64"\n", type, size, dts, avio_tell(s->pb));
776776 if (url_feof(s->pb))
777777 return AVERROR_EOF;
778778 avio_skip(s->pb, 3); /* stream id, always 0 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t