]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/on2avc.c
doc: fix spelling errors
[ffmpeg] / libavcodec / on2avc.c
index 1d8fcbc5962af6fd644fac8ff32e9a840771384b..7e4b9a40421551b26a846c0ccb5e7f9dc8f990a0 100644 (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