changeset 5621:dea6e2d5442d libavformat

Set AVPacket.pos in MPEG-PS demuxer.
author michael
date Tue, 02 Feb 2010 16:47:51 +0000
parents 0bbfce7dc2dc
children a427102c12cd
files mpeg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg.c	Mon Feb 01 23:30:30 2010 +0000
+++ b/mpeg.c	Tue Feb 02 16:47:51 2010 +0000
@@ -557,6 +557,7 @@
     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",