Set AVPacket.pos in MPEG-PS demuxer.

Originally committed as revision 21604 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2010-02-02 16:47:51 +00:00
parent 3890dd3a5c
commit c45ebd5461
2 changed files with 28 additions and 27 deletions

View File

@ -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",