diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2011-02-12 10:15:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-13 00:54:06 +0100 |
commit | 0a18b64585ca3f9181229dcc4ccb62bc6b939679 (patch) | |
tree | b83a6490320bfbdd132d17610cc3caed98bc0bdf /libavcodec/gsmdec.c | |
parent | c906d974b7c3288bc25a1db87acd7129bcc5cd04 (diff) | |
download | ffmpeg-0a18b64585ca3f9181229dcc4ccb62bc6b939679.tar.gz |
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>
(cherry picked from commit 47d62c965b7bcf4715127fbf9bffab7b4c5c88b7)
Diffstat (limited to 'libavcodec/gsmdec.c')
0 files changed, 0 insertions, 0 deletions