]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/alsa.c
Increase videowidget size priority over the others.
[vlc] / modules / audio_output / alsa.c
index 1dbc2c6fd340f0d53aae3ec14066ab5844d78737..5a2916fb47bc8978744e1006af73c1f9c92685fe 100644 (file)
@@ -31,7 +31,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 
 #include <errno.h>                                                 /* ENOMEM */
@@ -313,10 +313,7 @@ static int Open( vlc_object_t *p_this )
     /* Allocate structures */
     p_aout->output.p_sys = p_sys = malloc( sizeof( aout_sys_t ) );
     if( p_sys == NULL )
-    {
-        msg_Err( p_aout, "out of memory" );
         return VLC_ENOMEM;
-    }
     p_sys->b_playing = false;
     p_sys->start_date = 0;
     vlc_cond_init( p_aout, &p_sys->wait );