]> git.sesse.net Git - vlc/blobdiff - modules/video_output/directfb.c
enable display of background bitmaps (eg, picture subtitles)
[vlc] / modules / video_output / directfb.c
index 512f2da6f6322f17624cac29fc281c1b0cbcb749..17876afe5fb9ff5a01742094e8cae83eabaf8bb0 100644 (file)
@@ -31,7 +31,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 #include <directfb.h>
@@ -89,10 +89,7 @@ static int Create( vlc_object_t *p_this )
     /* Allocate structure */
     p_vout->p_sys = p_sys = malloc( sizeof( vout_sys_t ) );
     if( !p_sys )
-    {
-        msg_Err( p_vout, "out of memory" );
         return VLC_ENOMEM;
-    }
 
     p_sys->p_directfb = NULL;
     p_sys->p_primary = NULL;