On 13/07/16 21:02, Vittorio Giovara wrote:
> + if (sc->stsc_index < sc->stsc_count - 1 &&
in the rest of the code you have
sc->stsc_index +1 < sc->stsc_count
since that and
sc->stsc_data[sc->stsc_index].id - 1 != sc->last_stsd_index
are confusing and present in other places maybe make two tiny
self-describing/commented functions so new instances won't get this off
by one?
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel