]> git.sesse.net Git - vlc/commitdiff
Remove silly out of memory message in out of memory situation.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 15 Jun 2008 18:15:07 +0000 (20:15 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Wed, 18 Jun 2008 09:39:22 +0000 (11:39 +0200)
modules/video_filter/clone.c
modules/video_filter/invert.c
src/video_output/video_output.c

index 1cbfb4790d08501535c43c2c9274c0deca485b41..b6d48320544b72263db46a90890b117fbd47e93a 100644 (file)
@@ -127,10 +127,7 @@ static int Create( vlc_object_t *p_this )
     /* Allocate structure */
     p_vout->p_sys = malloc( sizeof( vout_sys_t ) );
     if( p_vout->p_sys == NULL )
-    {
-        msg_Err( p_vout, "out of memory" );
         return VLC_ENOMEM;
-    }
 
     p_vout->pf_init = Init;
     p_vout->pf_end = End;
index b6a566905fc78581a2948a9beeb525881275d9e6..acf093ea0fa642ac2eebf2a1d65e5da000d2289b 100644 (file)
@@ -79,10 +79,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->pf_video_filter = Filter;
 
index 9a0b0884f02decae2bf67428dab28d7d8ecfb778..6be0dbc9be5096a0de59bd4ba9b464160e59ff26 100644 (file)
@@ -245,10 +245,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
     /* Allocate descriptor */
     p_vout = vlc_object_create( p_parent, VLC_OBJECT_VOUT );
     if( p_vout == NULL )
-    {
-        msg_Err( p_parent, "out of memory" );
         return NULL;
-    }
 
     /* Initialize pictures - translation tables and functions
      * will be initialized later in InitThread */