Revision 1ac08937 libavformat/avidec.c

View differences:

libavformat/avidec.c
132 132
        longs_pre_entry,index_type, entries_in_use, chunk_id, base);
133 133
#endif
134 134

  
135
    if(stream_id > s->nb_streams || stream_id < 0)
135
    if(stream_id >= s->nb_streams || stream_id < 0)
136 136
        return -1;
137 137
    st= s->streams[stream_id];
138 138
    ast = st->priv_data;

Also available in: Unified diff