X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_output%2Faa.c;h=9710b593d3a3d198185b28f251c1182517ad2c2e;hb=88b1d54a0d3eb0b66aac5b1eb24867bc355d54e1;hp=e4f700340abeadd77dcb4057414c7a84a198ccc5;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/modules/video_output/aa.c b/modules/video_output/aa.c index e4f700340a..9710b593d3 100644 --- a/modules/video_output/aa.c +++ b/modules/video_output/aa.c @@ -4,7 +4,7 @@ * Copyright (C) 2002 the VideoLAN team * $Id$ * - * Authors: Sigmund Augdal + * Authors: Sigmund Augdal Helberg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,21 +18,24 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** * Preamble *****************************************************************************/ #include /* ENOMEM */ -#include /* free() */ -#include /* strerror() */ #include -#include -#include -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include +#include /***************************************************************************** * Local prototypes @@ -52,10 +55,10 @@ static void SetPalette ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t * * Module descriptor *****************************************************************************/ vlc_module_begin(); - set_shortname( _("Ascii Art")); + set_shortname( N_("ASCII Art")); set_category( CAT_VIDEO ); set_subcategory( SUBCAT_VIDEO_VOUT ); - set_description( _("ASCII-art video output") ); + set_description( N_("ASCII-art video output") ); set_capability( "video output", 10 ); add_shortcut( "aalib" ); set_callbacks( Create, Destroy ); @@ -87,10 +90,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 ); - } /* Don't parse any options, but take $AAOPTS into account */ aa_parseoptions( NULL, NULL, NULL, NULL );