OSDN Git Service

Make tables generation insensitive to floating-point implementation
authorVitor Sessak <vitor1001@gmail.com>
Sat, 12 Feb 2011 09:15:58 +0000 (10:15 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 12 Feb 2011 15:47:46 +0000 (15:47 +0000)
commit47d62c965b7bcf4715127fbf9bffab7b4c5c88b7
tree8f218ff0496ccc64912c4328a9b011c5b887fe08
parente063f5886b27a7374f5060b7c2c21385685b2cb0
Make tables generation insensitive to floating-point implementation

Using doubles make the double -> int cast well defined for all the values
used, with the exception of when s[i]==1.0, which is special-cased.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/bink.c