[vlc-commits] audiobargraph: missing 'f'

Rémi Denis-Courmont git at videolan.org
Wed Aug 13 22:23:09 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 13 23:13:57 2014 +0300| [88175f01cceaa6291a2bcc279864896cc3fa6521] | committer: Rémi Denis-Courmont

audiobargraph: missing 'f'

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88175f01cceaa6291a2bcc279864896cc3fa6521
---

 modules/video_filter/audiobargraph_v.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/audiobargraph_v.c b/modules/video_filter/audiobargraph_v.c
index 5fa71f8..8cb5565 100644
--- a/modules/video_filter/audiobargraph_v.c
+++ b/modules/video_filter/audiobargraph_v.c
@@ -162,7 +162,7 @@ static float iec_scale(float dB)
         return (dB + 70.0f) * 0.0025f;
     if (dB < -50.0f)
         return (dB + 60.0f) * 0.005f + 0.025f;
-    if (dB < -40.0)
+    if (dB < -40.0f)
         return (dB + 50.0f) * 0.0075f + 0.075f;
     if (dB < -30.0f)
         return (dB + 40.0f) * 0.015f + 0.15f;



More information about the vlc-commits mailing list