summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-02 16:47:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-02 16:47:51 +0000
commitc45ebd546195a35b47e502d40e1b9cd48f82a21f (patch)
treeb023f0c893ef5ab326b83fff3626fb2803119bf8 /libavformat/mpeg.c
parent3890dd3a5c0e375ee7ea23be39b363aa2f361c89 (diff)
Set AVPacket.pos in MPEG-PS demuxer.
Originally committed as revision 21604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c1
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",