aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-01-17 18:06:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-01-17 18:06:52 +0000
commit3e9245a98e3e6e752d7b15109990c50b2ac73407 (patch)
treec5acf88c48ac7af48607519ae7f2e8daa9953b81 /libavformat/mpeg.c
parentfb204d4bc1d05f1713534ab19cccfb993d738d7f (diff)
downloadffmpeg-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.c2
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? */);
}
}
}