mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
set pkt pos
Originally committed as revision 9189 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0e3ea3a26b
commit
363f403f28
@ -363,6 +363,7 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
} else
|
} else
|
||||||
av_get_packet(&s->pb, pkt, klv.length);
|
av_get_packet(&s->pb, pkt, klv.length);
|
||||||
pkt->stream_index = index;
|
pkt->stream_index = index;
|
||||||
|
pkt->pos = klv->offset;
|
||||||
return 0;
|
return 0;
|
||||||
} else
|
} else
|
||||||
url_fskip(&s->pb, klv.length);
|
url_fskip(&s->pb, klv.length);
|
||||||
|
Loading…
Reference in New Issue
Block a user