[FFmpeg-cvslog] r21642 - trunk/libavformat/avidec.c
michael
subversion
Fri Feb 5 12:50:44 CET 2010
Author: michael
Date: Fri Feb 5 12:50:44 2010
New Revision: 21642
Log:
Correcting wrong looking stream_id validity check in avidec.
Modified:
trunk/libavformat/avidec.c
Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c Fri Feb 5 12:25:58 2010 (r21641)
+++ trunk/libavformat/avidec.c Fri Feb 5 12:50:44 2010 (r21642)
@@ -132,7 +132,7 @@ static int read_braindead_odml_indx(AVFo
longs_pre_entry,index_type, entries_in_use, chunk_id, base);
#endif
- if(stream_id > s->nb_streams || stream_id < 0)
+ if(stream_id >= s->nb_streams || stream_id < 0)
return -1;
st= s->streams[stream_id];
ast = st->priv_data;
More information about the ffmpeg-cvslog
mailing list