mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-20 10:38:20 +00:00
avformat/flvdec: also include file position in debug output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e79b15f5f1
commit
b9017fdd42
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user