mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00: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
|
||||
av_get_packet(&s->pb, pkt, klv.length);
|
||||
pkt->stream_index = index;
|
||||
pkt->pos = klv->offset;
|
||||
return 0;
|
||||
} else
|
||||
url_fskip(&s->pb, klv.length);
|
||||
|
Loading…
Reference in New Issue
Block a user