]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/rv32.c
Remove unnedeeded msg_Error.
[vlc] / modules / video_filter / rv32.c
index 6b406ca0ac11fb34f4de01b083c2bf0f30eb4ee5..1e4572bcc46409f0e55be137dba7157b8127e213 100644 (file)
@@ -77,10 +77,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;
 
     p_filter->pf_video_filter = Filter;