X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_output%2Fdirectfb.c;h=17876afe5fb9ff5a01742094e8cae83eabaf8bb0;hb=ca2350877d158830421fa47f147387a11e2f0ba1;hp=512f2da6f6322f17624cac29fc281c1b0cbcb749;hpb=13ae40b0efc4f1b1ce205d9a057537047fcab3f4;p=vlc diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c index 512f2da6f6..17876afe5f 100644 --- a/modules/video_output/directfb.c +++ b/modules/video_output/directfb.c @@ -31,7 +31,7 @@ # include "config.h" #endif -#include +#include #include #include #include @@ -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;