On 20/07/16 18:48, Vittorio Giovara wrote:
> ---
> libavformat/mov.c | 15 ++++++++++-----
> 1 file changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index c0421d2..e1e20ee 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -1961,12 +1961,17 @@ static int mov_read_stsc(MOVContext *c, AVIOContext
> *pb, MOVAtom atom)
> return 0;
> }
>
> +static inline int mov_cmp_stsc_index_less_count(int index, int count)
> +{
> + return index + 1 < count;
> +}
is_valid_stsc_index maybe?
lu - I want the bike shed blue
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel