set pkt pos

Originally committed as revision 9189 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2007-06-03 17:26:30 +00:00
parent 0e3ea3a26b
commit 363f403f28

View File

@ -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);