forked from FFmpeg/FFmpeg
set pkt pos
Originally committed as revision 9189 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0e3ea3a26b
commit
363f403f28
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue