]> git.sesse.net Git - ffmpeg/commit
Merge commit '90bc423212396e96a02edc1118982ab7f7766a63'
authorClément Bœsch <u@pkh.me>
Wed, 1 Feb 2017 14:35:56 +0000 (15:35 +0100)
committerClément Bœsch <u@pkh.me>
Wed, 1 Feb 2017 14:50:02 +0000 (15:50 +0100)
commite26e6240b6700c5e8c16d0f092f1ad46805a723c
tree197d9ee8ab41e5e40a2b4fc7a41bda0a37fa4ea1
parent37557b28b9f5abc2043fbd000905899782141c62
parent90bc423212396e96a02edc1118982ab7f7766a63
Merge commit '90bc423212396e96a02edc1118982ab7f7766a63'

* commit '90bc423212396e96a02edc1118982ab7f7766a63':
  mov: Wrap stsc index and count compare in a separate function

The mov_stsc_index_valid() function is replaced with a macro to prevent
signdness issues (index is not always signed, and count is always
unsigned currently).

The comparison is also adjusted to reduce the risk of overflows.

Merged-by: Clément Bœsch <u@pkh.me>
libavformat/mov.c