From 3b8c56cc792ccb1ce15b615ab2dfeeafab07048a Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Sun, 15 Jun 2008 20:15:07 +0200 Subject: [PATCH] Remove silly out of memory message in out of memory situation. --- modules/video_filter/clone.c | 3 --- modules/video_filter/invert.c | 3 --- src/video_output/video_output.c | 3 --- 3 files changed, 9 deletions(-) diff --git a/modules/video_filter/clone.c b/modules/video_filter/clone.c index 1cbfb4790d..b6d4832054 100644 --- a/modules/video_filter/clone.c +++ b/modules/video_filter/clone.c @@ -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; diff --git a/modules/video_filter/invert.c b/modules/video_filter/invert.c index b6a566905f..acf093ea0f 100644 --- a/modules/video_filter/invert.c +++ b/modules/video_filter/invert.c @@ -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; diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c index 9a0b0884f0..6be0dbc9be 100644 --- a/src/video_output/video_output.c +++ b/src/video_output/video_output.c @@ -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 */ -- 2.39.2