1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavutil
Ganesh Ajjanagadde 29af74e4e3 avutil/libm: fix isnan compatibility hack
Commit 14ea4151d7c3c26500193f11ac661ed20c7c2b9c had a bug in that the
conversion of the uint64_t result to an int (the return signature) would
lead to implementation defined behavior, and in this case simply
returned 0 for NAN. A fix via AND'ing the result with 1 does the trick,
simply by ensuring a 0 or 1 return value.

Patch tested with FATE on x86-64, GNU/Linux by forcing the compatibility
code via an ifdef hack suggested by Michael.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-24 21:33:13 -05:00
..
2015-10-28 09:38:21 -05:00
2015-08-19 16:15:13 +00:00
2015-08-22 10:07:05 -07:00
2015-10-28 04:23:14 -05:00
2015-10-28 04:23:14 -05:00
2015-11-21 08:51:49 -05:00
2015-11-01 19:35:01 -05:00
2015-09-05 18:07:20 +02:00
2015-09-05 18:07:20 +02:00
2015-10-11 18:03:10 -04:00
2015-11-18 22:05:16 +01:00
2015-11-18 22:05:16 +01:00
2015-10-17 01:16:50 -07:00
2015-11-07 16:04:09 +01:00
2015-05-26 18:31:53 +02:00
2015-10-26 15:05:26 +01:00