X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_output%2Fmga.c;h=9cfbad461d08bd5f4e447cb1c2953ebd391e8b1a;hb=04c2b1220b64e11d79f635a3a8655e5bcf5971ea;hp=fc7012beaf2be93a2e9f45f3ba2d8a5ead5b31c8;hpb=27d483e9ef7a451397d7857251c8d67097661f1d;p=vlc diff --git a/modules/video_output/mga.c b/modules/video_output/mga.c index fc7012beaf..9cfbad461d 100644 --- a/modules/video_output/mga.c +++ b/modules/video_output/mga.c @@ -35,7 +35,7 @@ # include "config.h" #endif -#include +#include #include #include @@ -59,7 +59,7 @@ static int NewPicture ( vout_thread_t *, picture_t * ); * Module descriptor *****************************************************************************/ vlc_module_begin(); - set_description( _("Matrox Graphic Array video output") ); + set_description( N_("Matrox Graphic Array video output") ); set_capability( "video output", 10 ); set_callbacks( Create, Destroy ); vlc_module_end(); @@ -137,10 +137,7 @@ static int Create( vlc_object_t *p_this ) /* Allocate structure */ p_vout->p_sys = malloc( sizeof( vout_sys_t ) ); if( p_vout->p_sys == NULL ) - { - msg_Err( p_vout, "out of memory" ); return( 1 ); - } p_vout->p_sys->i_fd = open( "/dev/mga_vid", O_RDWR ); if( p_vout->p_sys->i_fd == -1 )