]> git.sesse.net Git - vlc/blobdiff - modules/audio_filter/channel_mixer/dolby.c
Remove unneeded msg_Error about memory failure.
[vlc] / modules / audio_filter / channel_mixer / dolby.c
index 032da2aa8d850353a949b4321be45d499d55d7f6..0cfb7c0403c86e438e5481f4131aab81004c2b3c 100644 (file)
@@ -106,10 +106,7 @@ static int Create( vlc_object_t *p_this )
     /* Allocate the memory needed to store the module's structure */
     p_filter->p_sys = malloc( sizeof(struct aout_filter_sys_t) );
     if ( p_filter->p_sys == NULL )
-    {
-        msg_Err( p_filter, "out of memory" );
-        return VLC_EGENERIC;
-    }
+        return VLC_ENOMEM;
     p_filter->p_sys->i_left = -1;
     p_filter->p_sys->i_center = -1;
     p_filter->p_sys->i_right = -1;