comparison ra288.c @ 7268:7e51fc7805ac libavcodec

Do not declare as double a var that only stores a float
author vitor
date Sun, 13 Jul 2008 20:38:42 +0000
parents 4a4a8563de98
children 04ecb6594999
comparison
equal deleted inserted replaced
7267:4a4a8563de98 7268:7e51fc7805ac
49 49
50 /* Decode and produce output */ 50 /* Decode and produce output */
51 static void decode(Real288_internal *glob, float gain, int cb_coef) 51 static void decode(Real288_internal *glob, float gain, int cb_coef)
52 { 52 {
53 int x, y; 53 int x, y;
54 double sum, sumsum; 54 double sumsum;
55 float buffer[5]; 55 float sum, buffer[5];
56 56
57 memmove(glob->sb + 5, glob->sb, 36 * sizeof(*glob->sb)); 57 memmove(glob->sb + 5, glob->sb, 36 * sizeof(*glob->sb));
58 58
59 for (x=4; x >= 0; x--) 59 for (x=4; x >= 0; x--)
60 glob->sb[x] = -scalar_product_float(glob->sb + x + 1, glob->pr1, 36); 60 glob->sb[x] = -scalar_product_float(glob->sb + x + 1, glob->pr1, 36);