set pkt pos

Originally committed as revision 9189 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 18 years ago
parent 0e3ea3a26b
commit 363f403f28
  1. 1
      libavformat/mxf.c

@ -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…
Cancel
Save