Revision dfbbbdc0

View differences:

libavformat/matroskadec.c
1642 1642
    AVStream *st = s->streams[stream_index];
1643 1643
    int index;
1644 1644

  
1645
    if (timestamp < 0)
1646
        timestamp = 0;
1647

  
1645 1648
    index = av_index_search_timestamp(st, timestamp, flags);
1646 1649
    if (index < 0)
1647 1650
        return 0;

Also available in: Unified diff