diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-01 13:32:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-14 16:51:00 +0100 |
commit | 86a52988bd50b16d7f4c52e610de00d5354c5174 (patch) | |
tree | f3f437c539cbaf8b0316f128cf967cc5bfb493a9 /libavformat/crcenc.c | |
parent | d259a0534ee2f89b103cfc52b988b452c6411662 (diff) | |
download | ffmpeg-86a52988bd50b16d7f4c52e610de00d5354c5174.tar.gz |
avutil/mathematics: return INT64_MIN (=AV_NOPTS_VALUE) from av_rescale_rnd() for overflows
Fixes integer overflow
Fixes: mozilla bug 1229167
Found-by: Tyson Smith
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f03c2ceec174877e03bb302f5971fbe9ffbe4856)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/crcenc.c')
0 files changed, 0 insertions, 0 deletions