avformat/mov: Fix integer overflows related to sample_duration
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 9 Mar 2018 15:43:29 +0000 (16:43 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commitedfe9ae63b191ea435f23628904094fdba3f1364
tree42b8938094bd6cb11d16ec5f735631a2a6494167
parent3a29fda42ab7da12102d8990859554abfe13996a
avformat/mov: Fix integer overflows related to sample_duration

Fixes: runtime error: signed integer overflow: -9166684017437101870 + -2495066639299164439 cannot be represented in type

Fixes: Chromium bug 791349

Reported-by: Matt Wolenetz <wolenetz@google.com>
Reviewed-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2f37082827a405430c40408ee2db19ea2866ce64)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c