diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-06-03 17:26:30 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-06-03 17:26:30 +0000 |
commit | 363f403f2867b733482438eafbe382be77b44f12 (patch) | |
tree | cd4bd3d91871c617197d8390f7df2ed51f613ba0 /libavformat/mxf.c | |
parent | 0e3ea3a26bac9b4262a1811f4ca0e1ed407ef22f (diff) | |
download | ffmpeg-363f403f2867b733482438eafbe382be77b44f12.tar.gz |
set pkt pos
Originally committed as revision 9189 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r-- | libavformat/mxf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index aa34596ce6..df369b001b 100644 --- a/libavformat/mxf.c +++ b/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); |