Revision 9dd94f83 libavformat/mov.c

View differences:

libavformat/mov.c
1553 1553

  
1554 1554
        for (i = 0; i < sc->chunk_count; i++) {
1555 1555
            current_offset = sc->chunk_offsets[i];
1556
            if (stsc_index + 1 < sc->stsc_count &&
1556
            while (stsc_index + 1 < sc->stsc_count &&
1557 1557
                i + 1 == sc->stsc_data[stsc_index + 1].first)
1558 1558
                stsc_index++;
1559 1559
            for (j = 0; j < sc->stsc_data[stsc_index].count; j++) {

Also available in: Unified diff