diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-15 21:43:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-15 21:43:32 +0200 |
commit | 2a19fcc12311f71f55eab7129b764d4cb800c934 (patch) | |
tree | c280e555db659e5d05c6783d75864d5393cb65b7 /libavcodec | |
parent | 12cc3bf29ae4c0bc843f48efaad1df3e88fce63a (diff) | |
download | ffmpeg-2a19fcc12311f71f55eab7129b764d4cb800c934.tar.gz |
avcodec/mpegaudio_tablegen: remove dead branch
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegaudio_tablegen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudio_tablegen.h b/libavcodec/mpegaudio_tablegen.h index 60303b16ad..789bc2ace8 100644 --- a/libavcodec/mpegaudio_tablegen.h +++ b/libavcodec/mpegaudio_tablegen.h @@ -63,7 +63,7 @@ static void mpegaudio_tableinit(void) /* cbrtf() isn't available on all systems, so we use powf(). */ double f = (double)value * pow(value, 1.0 / 3.0) * pow(2, (exponent - 400) * 0.25 + FRAC_BITS + 5) / IMDCT_SCALAR; /* llrint() isn't always available, so round and cast manually. */ - expval_table_fixed[exponent][value] = (long long int) (f >= 0 ? floor(f + 0.5) : ceil(f - 0.5)); + expval_table_fixed[exponent][value] = (long long int) floor(f + 0.5); expval_table_float[exponent][value] = f; } exp_table_fixed[exponent] = expval_table_fixed[exponent][1]; |