diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-01-17 18:06:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-01-17 18:06:52 +0000 |
commit | 3e9245a98e3e6e752d7b15109990c50b2ac73407 (patch) | |
tree | c5acf88c48ac7af48607519ae7f2e8daa9953b81 /libavformat/mpeg.c | |
parent | fb204d4bc1d05f1713534ab19cccfb993d738d7f (diff) | |
download | ffmpeg-3e9245a98e3e6e752d7b15109990c50b2ac73407.tar.gz |
store searched distance in index, so we dont waste time searching for keyframes where we already searched
asf seek fixes & use keyframe pos/timestamp cache
Originally committed as revision 2709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 5bd7215d6c..8fa4cf3fe1 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -909,7 +909,7 @@ static int mpegps_read_pes_header(AVFormatContext *s, int i; for(i=0; i<s->nb_streams; i++){ if(startcode == s->streams[i]->id) { - av_add_index_entry(s->streams[i], *ppos, dts, 0 /* FIXME keyframe? */); + av_add_index_entry(s->streams[i], *ppos, dts, 0, 0 /* FIXME keyframe? */); } } } |