summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
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",