]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/motiondetect.c
Remove unnedeeded msg_Error.
[vlc] / modules / video_filter / motiondetect.c
index d1fd08de95d3a603d72545b71cf00f074eebc868..9c91fd59ed623565a1b2a3d3b436a5ebdec49247 100644 (file)
@@ -104,10 +104,7 @@ static int Create( vlc_object_t *p_this )
     /* Allocate structure */
     p_filter->p_sys = malloc( sizeof( filter_sys_t ) );
     if( p_filter->p_sys == NULL )
-    {
-        msg_Err( p_filter, "out of memory" );
         return VLC_ENOMEM;
-    }
 
     p_filter->p_sys->p_oldpix = NULL;
     p_filter->p_sys->p_buf = NULL;