1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-07-06 06:27:36 +02:00
Files
FFmpeg/libavutil
Michael Niedermayer 100dbe1bf0 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-20 10:59:27 +01:00
..
2015-07-20 04:43:40 +02:00
2014-04-07 01:31:02 +02:00
2014-04-07 01:31:02 +02:00
2012-12-05 20:25:32 +01:00
2014-08-05 01:54:47 +02:00
2014-12-19 14:35:29 +01:00
2014-12-19 14:35:29 +01:00
2015-11-19 03:51:38 +01:00
2014-08-13 14:50:15 +02:00
2014-07-12 22:33:27 +02:00
2014-07-12 22:33:27 +02:00
2014-04-01 17:36:33 +02:00
2014-04-29 13:24:11 +02:00
2010-06-30 15:38:06 +00:00
2014-11-08 11:31:11 +01:00
2014-06-03 16:03:44 +02:00
2014-10-11 12:15:26 +02:00
2014-06-03 10:58:19 -08:00
2014-09-05 00:43:48 +02:00
2015-01-12 13:49:56 -03:00
2015-03-05 13:50:22 +01:00
2014-08-05 21:05:52 +02:00
2014-05-26 11:40:15 +02:00
2014-05-26 11:40:15 +02:00
2014-05-28 03:25:41 +02:00
2014-08-05 01:54:47 +02:00
2015-02-18 00:59:55 +01:00
2014-04-07 01:31:36 +02:00
2014-04-07 01:31:36 +02:00