Revision b5a3541d libavformat/utils.c

View differences:

libavformat/utils.c
1279 1279

  
1280 1280
    index = av_index_search_timestamp(st, timestamp, flags);
1281 1281

  
1282
    if(index < 0){
1282
    if(index < 0 || index==st->nb_index_entries-1){
1283 1283
        int i;
1284 1284
        AVPacket pkt;
1285 1285

  

Also available in: Unified diff