]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/arts.c
Less memleaks in Qt interface.
[vlc] / modules / audio_output / arts.c
index 044dad085d8432eaf31d7ac11b170cc46df3ade1..525787d5818a0bf2b7e15a8ab2b5aa1fe8045531 100644 (file)
@@ -31,7 +31,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
 
@@ -63,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 );
@@ -83,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();