]> git.sesse.net Git - vlc/blobdiff - modules/demux/wav.c
Use LoadLibrary instead of LoadLibraryA.
[vlc] / modules / demux / wav.c
index cc745d3b279cd99b5149ac908b3ee7391738c30e..b4cfa14422699f5d9998609decddb43ac238ef64 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include <vlc/vlc.h>
 #include <vlc_demux.h>
@@ -259,7 +262,7 @@ static int Open( vlc_object_t * p_this )
     case VLC_FOURCC( 'm', 'p', 'g', 'a' ):
     case VLC_FOURCC( 'a', '5', '2', ' ' ):
         /* FIXME set end of area FIXME */
-        goto relay;
+        goto error;
     default:
         msg_Err( p_demux, "unsupported codec (%4.4s)",
                  (char*)&p_sys->fmt.i_codec );
@@ -291,7 +294,6 @@ static int Open( vlc_object_t * p_this )
 
 error:
     free( p_wf );
-relay:
     free( p_sys );
     return VLC_EGENERIC;
 }