X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faudio_output%2Farts.c;h=525787d5818a0bf2b7e15a8ab2b5aa1fe8045531;hb=1750723d84703a661be20e0248ada01f973979bd;hp=36939a8ac3ea9bf764a4a49a0933991bf9edada7;hpb=85b29bdc288a1573d43bd524908be5748a9b3640;p=vlc diff --git a/modules/audio_output/arts.c b/modules/audio_output/arts.c index 36939a8ac3..525787d581 100644 --- a/modules/audio_output/arts.c +++ b/modules/audio_output/arts.c @@ -1,7 +1,7 @@ /***************************************************************************** * arts.c : aRts module ***************************************************************************** - * Copyright (C) 2001-2002 VideoLAN (Centrale Réseaux) and its contributors + * Copyright (C) 2001-2002 the VideoLAN team * $Id$ * * Authors: Emmanuel Blindauer @@ -19,22 +19,21 @@ * * 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 /* open(), O_WRONLY */ -#include /* strerror() */ #include /* write(), close() */ -#include /* calloc(), malloc(), free() */ -#include -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif -#include "aout_internal.h" +#include +#include +#include #include @@ -64,7 +63,7 @@ static void Play ( aout_instance_t * ); *****************************************************************************/ vlc_module_begin(); set_shortname( "aRts" ); - set_description( _("aRts audio output") ); + set_description( N_("aRts audio output") ); set_capability( "audio output", 50 ); set_category( CAT_AUDIO ); set_subcategory( SUBCAT_AUDIO_AOUT ); @@ -84,10 +83,7 @@ static int Open( vlc_object_t *p_this ) /* Allocate structure */ p_sys = malloc( sizeof( aout_sys_t ) ); if( p_sys == NULL ) - { - msg_Err( p_aout, "out of memory" ); return VLC_ENOMEM; - } p_aout->output.p_sys = p_sys; i_err = arts_init();