]> git.sesse.net Git - vlc/commitdiff
equalizer.c: compile fix for old compilers (thx sam)
authorEric Petit <titer@videolan.org>
Thu, 22 Jul 2004 15:09:42 +0000 (15:09 +0000)
committerEric Petit <titer@videolan.org>
Thu, 22 Jul 2004 15:09:42 +0000 (15:09 +0000)
modules/audio_filter/equalizer.c

index dd2a98f254148510c3dea0e4cd7de7bf7ca057bf..43bf73ef3574439fb76de80a13d2a86a36224e68 100644 (file)
@@ -210,7 +210,7 @@ typedef struct
         float f_alpha;
         float f_beta;
         float f_gamma;
-    } band[];
+    } band[0];
 
 } eqz_config_t;
 
@@ -253,7 +253,7 @@ typedef struct
     char *psz_name;
     int  i_band;
     float f_preamp;
-    float f_amp[];
+    float f_amp[0];
 } eqz_preset_t;
 
 static const eqz_preset_t eqz_preset_flat_10b=