[FFmpeg-soc] [soc]: r4403 - seek_api/mpeg.c
spyfeng
subversion at mplayerhq.hu
Wed Jun 10 19:40:15 CEST 2009
Author: spyfeng
Date: Wed Jun 10 19:40:15 2009
New Revision: 4403
Log:
set pkt->pos value when reading packet
Modified:
seek_api/mpeg.c
Modified: seek_api/mpeg.c
==============================================================================
--- seek_api/mpeg.c Tue Jun 9 20:37:10 2009 (r4402)
+++ seek_api/mpeg.c Wed Jun 10 19:40:15 2009 (r4403)
@@ -541,6 +541,7 @@ static int mpegps_read_packet(AVFormatCo
return AVERROR(EINVAL);
}
av_new_packet(pkt, len);
+ pkt->pos = url_ftell(s->pb);
get_buffer(s->pb, pkt->data, pkt->size);
pkt->pts = pts;
pkt->dts = dts;
More information about the FFmpeg-soc
mailing list