diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-02 16:47:51 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-02 16:47:51 +0000 |
commit | c45ebd546195a35b47e502d40e1b9cd48f82a21f (patch) | |
tree | b023f0c893ef5ab326b83fff3626fb2803119bf8 /libavformat | |
parent | 3890dd3a5c0e375ee7ea23be39b363aa2f361c89 (diff) | |
download | ffmpeg-c45ebd546195a35b47e502d40e1b9cd48f82a21f.tar.gz |
Set AVPacket.pos in MPEG-PS demuxer.
Originally committed as revision 21604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index c5afa1d1cb..d4d4d212b0 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -557,6 +557,7 @@ static int mpegps_read_packet(AVFormatContext *s, get_buffer(s->pb, pkt->data, pkt->size); pkt->pts = pts; pkt->dts = dts; + pkt->pos = dummy_pos; pkt->stream_index = st->index; #if 0 av_log(s, AV_LOG_DEBUG, "%d: pts=%0.3f dts=%0.3f size=%d\n", |