]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/file.c
Remove unneeded msg_Err.
[vlc] / modules / audio_output / file.c
index e2251c4b1aad48b7f3dc884228160183cb0588ea..c8af6f5f9085db382f3fde07644be8847dc051b2 100644 (file)
@@ -154,10 +154,7 @@ static int Open( vlc_object_t * p_this )
     /* Allocate structure */
     p_aout->output.p_sys = malloc( sizeof( aout_sys_t ) );
     if( p_aout->output.p_sys == NULL )
-    {
-        msg_Err( p_aout, "out of memory" );
-        return VLC_EGENERIC;
-    }
+        return VLC_ENOMEM;
 
     if( !strcmp( psz_name, "-" ) )
         p_aout->output.p_sys->p_file = stdout;