]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/esd.c
The playlist is not locked so don't pretend that the case.
[vlc] / modules / audio_output / esd.c
index 4d57ef0f94d457807457a75612a32563d69fbc45..d42940e6d7ea31057b14a3c32ac41f90f75f4706 100644 (file)
@@ -31,7 +31,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
 
@@ -91,10 +91,7 @@ static int Open( vlc_object_t *p_this )
     /* Allocate structure */
     p_sys = malloc( sizeof( aout_sys_t ) );
     if( p_sys == NULL )
-    {
-        msg_Err( p_aout, "out of memory" );
         return VLC_ENOMEM;
-    }
 
     p_aout->output.p_sys = p_sys;