diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-24 21:29:35 -0500 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-24 21:33:13 -0500 |
commit | 29af74e4e36daa3aa3ebafede844412d8cfff32b (patch) | |
tree | a479d0f7a7dc93995caab721ea4fb20d4434f21e /CREDITS | |
parent | 4f99308ed36b0fc5c2bd2121ad350aa3d80b1275 (diff) | |
download | ffmpeg-streaming-29af74e4e36daa3aa3ebafede844412d8cfff32b.zip ffmpeg-streaming-29af74e4e36daa3aa3ebafede844412d8cfff32b.tar.gz |
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>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions