1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-16 08:38:24 +02:00
Files
FFmpeg/libavutil
Michael Niedermayer 460710500e avutil/mathematics: Do not treat INT64_MIN as positive in av_rescale_rnd
The code expects actual positive numbers and gives completely wrong
results if INT64_MIN is treated as positive
Instead clip it into the valid range that is add 1 and treat it as
negative

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 25e37f5ea9)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-06 02:51:27 +01:00
..
2015-06-19 02:25:48 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2015-06-19 15:57:32 +02:00
2015-08-22 10:07:05 -07:00
2015-05-02 14:37:48 +02:00
2015-11-12 00:00:57 +01:00
2015-05-31 12:07:11 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2015-08-18 09:46:49 -04:00
2015-08-22 10:07:05 -07:00
2015-08-18 13:09:06 -04:00
2015-08-18 13:09:06 -04:00
2015-05-26 18:31:53 +02:00
2015-05-26 18:31:53 +02:00
2015-02-18 00:59:55 +01:00