]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/blend.c
Remove unnedeeded msg_Error.
[vlc] / modules / video_filter / blend.c
index 5c29fecccdd55f5694f9e08250afba3e9da57b1d..89dfeba6b9e2bf187e9c18923a8854bdcfd9d310 100644 (file)
@@ -134,10 +134,7 @@ static int OpenFilter( vlc_object_t *p_this )
     /* Allocate the memory needed to store the decoder's structure */
     if( ( p_filter->p_sys = p_sys =
           (filter_sys_t *)malloc(sizeof(filter_sys_t)) ) == NULL )
-    {
-        msg_Err( p_filter, "out of memory" );
-        return VLC_EGENERIC;
-    }
+        return VLC_ENOMEM;
 
     /* Misc init */
     p_filter->pf_video_blend = Blend;