]> git.sesse.net Git - vlc/blobdiff - src/misc/devices.c
Fixed completely broken video filter 2 chain in vout. Now they have a
[vlc] / src / misc / devices.c
index e0f839d6055e6cd0dfe90100c453f12735617523..e6241c8d473f6520560257fd1f5b609363ddc31b 100644 (file)
@@ -30,7 +30,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc/intf.h>
 #include <vlc_devices.h>
 
@@ -43,10 +43,7 @@ void devices_ProbeCreate( vlc_object_t *p_this )
     /* Allocate structure */
     p_probe = vlc_object_create( p_this, VLC_OBJECT_INTF );
     if( !p_probe )
-    {
-        msg_Err( p_this, "out of memory" );
         return;
-    }
     p_probe->p_module = module_Need( p_probe, "devices probe", "", false );
     if( p_probe->p_module == NULL )
     {