avformat/utils: avoid overflow in update_stream_timings() with huge durations
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 May 2016 21:51:35 +0000 (23:51 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 May 2016 22:14:02 +0000 (00:14 +0200)
commit2be3007ed55f1513bcae3d2a076e71878f48eb03
treecc6eb04c7bd86c2db5028b70dfb82bd0049aa5f3
parentaf56d0dffa3e3ff0649703a2a1f7669fe918ba29
avformat/utils: avoid overflow in update_stream_timings() with huge durations

Fixes: usan_granule_overflow

Found-by: Thomas Guilbert <tguilbert@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c