]> git.sesse.net Git - ffmpeg/commit
avformat/utils: Check cur_dts in update_initial_timestamps() more
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Apr 2018 09:38:48 +0000 (11:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Apr 2018 20:08:27 +0000 (22:08 +0200)
commit37d46dc21d708192b12aa13617ebe6a117b07363
tree6d5905d59d487ce259cedc7a33a701790df92d36
parent544324827e0131e43af1a54fb790a48a25fd7ba4
avformat/utils: Check cur_dts in update_initial_timestamps() more

Fixes: runtime error: signed integer overflow: 18133149658382192 - -9223090561878065151 cannot be represented in type 'long long'
Fixes: crbug 831552
Reported-by: Matt Wolenetz <wolenetz@google.com>
Reviewed-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c