[FFmpeg-soc] [soc]: r4400 - seek_api/mpeg.c
spyfeng
subversion at mplayerhq.hu
Tue Jun 9 19:06:38 CEST 2009
Author: spyfeng
Date: Tue Jun 9 19:06:37 2009
New Revision: 4400
Log:
remove the codelines which build the indexes,
because the indexes are built in av_read_frame_internal().
Modified:
seek_api/mpeg.c
Modified: seek_api/mpeg.c
==============================================================================
--- seek_api/mpeg.c Tue Jun 9 07:00:29 2009 (r4399)
+++ seek_api/mpeg.c Tue Jun 9 19:06:37 2009 (r4400)
@@ -385,16 +385,6 @@ static int mpegps_read_pes_header(AVForm
}
if(len<0)
goto error_redo;
- if(dts != AV_NOPTS_VALUE && ppos){
- int i;
- for(i=0; i<s->nb_streams; i++){
- if(startcode == s->streams[i]->id &&
- !url_is_streamed(s->pb) /* index useless on streams anyway */) {
- ff_reduce_index(s, i);
- av_add_index_entry(s->streams[i], *ppos, dts, 0, 0, 0 /* FIXME keyframe? */);
- }
- }
- }
*pstart_code = startcode;
*ppts = pts;
More information about the FFmpeg-soc
mailing list