Merge commit '2d5176fad1a4556d209cbfb0f681712c7eada4fd'

* commit '2d5176fad1a4556d209cbfb0f681712c7eada4fd':
  on2avc: Use the integer abs() version

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-12 23:03:12 +02:00
commit fd04082af9

View File

@ -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