]> git.sesse.net Git - ffmpeg/commitdiff
Do not declare as double a var that only stores a float
authorVitor Sessak <vitor1001@gmail.com>
Sun, 13 Jul 2008 20:38:42 +0000 (20:38 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sun, 13 Jul 2008 20:38:42 +0000 (20:38 +0000)
Originally committed as revision 14216 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ra288.c

index 35d21f4277172484aef0f86663bbc8639b22108f..cd7d6240506b6dc5101b9b07127da5d96421ee79 100644 (file)
@@ -51,8 +51,8 @@ static inline float scalar_product_float(float * v1, float * v2, int size)
 static void decode(Real288_internal *glob, float gain, int cb_coef)
 {
     int x, y;
-    double sum, sumsum;
-    float buffer[5];
+    double sumsum;
+    float sum, buffer[5];
 
     memmove(glob->sb + 5, glob->sb, 36 * sizeof(*glob->sb));