X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fvideo_output%2Fdirectfb.c;h=17876afe5fb9ff5a01742094e8cae83eabaf8bb0;hb=379212dbee5545f94dbd76c3b3f171e9b5e1fd53;hp=b5cbeac16d6e92e62477cc18deb6f885ef753ce3;hpb=2ea3b5fc8afa530afc65d520b33ef7edc354f775;p=vlc diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c index b5cbeac16d..17876afe5f 100644 --- a/modules/video_output/directfb.c +++ b/modules/video_output/directfb.c @@ -31,7 +31,8 @@ # include "config.h" #endif -#include +#include +#include #include #include @@ -68,7 +69,7 @@ vlc_module_begin(); set_shortname( "DirectFB" ); set_category( CAT_VIDEO ); set_subcategory( SUBCAT_VIDEO_VOUT ); - set_description( _("DirectFB video output http://www.directfb.org/") ); + set_description( N_("DirectFB video output http://www.directfb.org/") ); set_capability( "video output", 60 ); add_shortcut( "directfb" ); set_callbacks( Create, Destroy ); @@ -88,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;