Revision 0dbddda3

View differences:

libavformat/matroskadec.c
1658 1658
    if ((index = av_index_search_timestamp(st, timestamp, flags)) < 0) {
1659 1659
        if (st->nb_index_entries)
1660 1660
            url_fseek(s->pb, st->index_entries[st->nb_index_entries-1].pos, SEEK_SET);
1661
    while ((index = av_index_search_timestamp(st, timestamp, flags)) < 0) {
1662
        matroska_clear_queue(matroska);
1663
        if (matroska_parse_cluster(matroska) < 0)
1664
            break;
1665
    }
1661
        while ((index = av_index_search_timestamp(st, timestamp, flags)) < 0) {
1662
            matroska_clear_queue(matroska);
1663
            if (matroska_parse_cluster(matroska) < 0)
1664
                break;
1665
        }
1666 1666
    }
1667 1667

  
1668 1668
    matroska_clear_queue(matroska);

Also available in: Unified diff