]> git.sesse.net Git - vlc/commitdiff
FLUID_FAILED is not defined in version 1.0.x
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Apr 2010 18:06:52 +0000 (21:06 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Apr 2010 18:06:52 +0000 (21:06 +0300)
modules/codec/fluidsynth.c

index 0f25c89818dba34aa3c5dec5d305380d1d688b56..4cf309870a12d496fdf000dd7df4d00e6d9a8038 100644 (file)
@@ -40,6 +40,7 @@
 
 #if (FLUIDSYNTH_VERSION_MAJOR < 1) \
  || (FLUIDSYNTH_VERSION_MAJOR == 1 && FLUIDSYNTH_VERSION_MINOR < 1)
+# define FLUID_FAILED (-1)
 # define fluid_synth_sysex(synth, ptr, len, d, e, f, g) (FLUID_FAILED)
 # define fluid_synth_system_reset(synth) (FLUID_FAILED)
 # define fluid_synth_channel_pressure(synth, channel, p) (FLUID_FAILED)