# HG changeset patch # User michael # Date 1265129271 0 # Node ID dea6e2d5442d93ebcbdfbb4340cf175a841792fd # Parent 0bbfce7dc2dcf52d0af5b5b0c30c97cbd7f24442 Set AVPacket.pos in MPEG-PS demuxer. diff -r 0bbfce7dc2dc -r dea6e2d5442d mpeg.c --- 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",