From 4a2ef39442bf7f0150db07a1fbfcf8286e4d44a3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 23 Jul 2013 23:48:45 +0200 Subject: cosmetics: Add '0' to float constants ending in '.'. --- libavcodec/ra288.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/ra288.c') diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 5cccbe9a0c..0b750ac2b6 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -90,7 +90,7 @@ static void decode(RA288Context *ractx, float gain, int cb_coef) memmove(ractx->sp_hist + 70, ractx->sp_hist + 75, 36*sizeof(*block)); /* block 46 of G.728 spec */ - sum = 32.; + sum = 32.0; for (i=0; i < 10; i++) sum -= gain_block[9-i] * ractx->gain_lpc[i]; @@ -104,7 +104,7 @@ static void decode(RA288Context *ractx, float gain, int cb_coef) for (i=0; i < 5; i++) buffer[i] = codetable[cb_coef][i] * sumsum; - sum = avpriv_scalarproduct_float_c(buffer, buffer, 5) * ((1 << 24) / 5.); + sum = avpriv_scalarproduct_float_c(buffer, buffer, 5) * ((1 << 24) / 5.0); sum = FFMAX(sum, 1); @@ -150,7 +150,7 @@ static void do_hybrid_window(RA288Context *ractx, } /* Multiply by the white noise correcting factor (WNCF). */ - *out *= 257./256.; + *out *= 257.0 / 256.0; } /** -- cgit v1.2.3