[FFmpeg-soc] [soc]: r4423 - seek_api/mpeg.c

spyfeng subversion at mplayerhq.hu
Thu Jun 11 16:22:11 CEST 2009


Author: spyfeng
Date: Thu Jun 11 16:22:11 2009
New Revision: 4423

Log:
set the pkt->pos as the start of the PES packet.

Modified:
   seek_api/mpeg.c

Modified: seek_api/mpeg.c
==============================================================================
--- seek_api/mpeg.c	Thu Jun 11 16:09:36 2009	(r4422)
+++ seek_api/mpeg.c	Thu Jun 11 16:22:11 2009	(r4423)
@@ -541,7 +541,7 @@ static int mpegps_read_packet(AVFormatCo
             return AVERROR(EINVAL);
     }
     av_new_packet(pkt, len);
-    pkt->pos = url_ftell(s->pb);
+    pkt->pos = dummy_pos;
     get_buffer(s->pb, pkt->data, pkt->size);
     pkt->pts = pts;
     pkt->dts = dts;


More information about the FFmpeg-soc mailing list