diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-12 23:03:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-12 23:04:30 +0200 |
commit | fd04082af985d4aa7a363a0cd9ee136c64d83820 (patch) | |
tree | 5d3decdb6d61c45a0e6d8f18b9aac1f15cdbe84a /libavcodec/on2avc.c | |
parent | 00ebf89dcdeb0587eba80ebd634591873f64624a (diff) | |
parent | 2d5176fad1a4556d209cbfb0f681712c7eada4fd (diff) | |
download | ffmpeg-fd04082af985d4aa7a363a0cd9ee136c64d83820.tar.gz |
Merge commit '2d5176fad1a4556d209cbfb0f681712c7eada4fd'
* commit '2d5176fad1a4556d209cbfb0f681712c7eada4fd':
on2avc: Use the integer abs() version
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/on2avc.c')
-rw-r--r-- | libavcodec/on2avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c index 1d8fcbc596..7e4b9a4042 100644 --- a/libavcodec/on2avc.c +++ b/libavcodec/on2avc.c @@ -186,7 +186,7 @@ static int on2avc_decode_band_scales(On2AVCContext *c, GetBitContext *gb) static inline float on2avc_scale(int v, float scale) { - return v * sqrtf(fabsf(v)) * scale; + return v * sqrtf(abs(v)) * scale; } // spectral data is coded completely differently - there are no unsigned codebooks |