avformat/utils: Fix integer overflow in end time calculation in update_stream_timings()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Apr 2018 16:55:57 +0000 (18:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Apr 2018 20:59:22 +0000 (22:59 +0200)
commit01645d59156733d80f6fe777814fbe665c6164ed
treec15809228d158e77f080602bddf3fa8bf6dea5df
parent7af6fba1455afb19e12b19119665b97f4fd032dd
avformat/utils: Fix integer overflow in end time calculation in update_stream_timings()

Fixes: crbug 829153

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 c48ceff786bdc96fdc64417118c457d03bd19871)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c