Commit 3a4997f5 authored by Eric Petit's avatar Eric Petit

equalizer.c: compile fix for old compilers (thx sam)

parent 17d02421
...@@ -210,7 +210,7 @@ typedef struct ...@@ -210,7 +210,7 @@ typedef struct
float f_alpha; float f_alpha;
float f_beta; float f_beta;
float f_gamma; float f_gamma;
} band[]; } band[0];
} eqz_config_t; } eqz_config_t;
...@@ -253,7 +253,7 @@ typedef struct ...@@ -253,7 +253,7 @@ typedef struct
char *psz_name; char *psz_name;
int i_band; int i_band;
float f_preamp; float f_preamp;
float f_amp[]; float f_amp[0];
} eqz_preset_t; } eqz_preset_t;
static const eqz_preset_t eqz_preset_flat_10b= static const eqz_preset_t eqz_preset_flat_10b=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment