summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-03-13 00:13:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-03-13 00:13:01 +0000
commit27a5fe5fdf9d017a344e9e0aee143244b4adebb9 (patch)
treee12e5ef50529aa5bdd2bac2012c6eb0eb266da7b /libavformat/mpeg.c
parentfcc872422e0c940dae067d6752fc721f9aeb913e (diff)
keyframe & non keyframe index fixes
Originally committed as revision 4034 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 acb33dde6c..e9b5e9b263 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -1482,7 +1482,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, 0 /* FIXME keyframe? */);
+ av_add_index_entry(s->streams[i], *ppos, dts, 0, AVINDEX_KEYFRAME /* FIXME keyframe? */);
}
}
}