Commit 3b8c56cc authored by Jean-Paul Saman's avatar Jean-Paul Saman

Remove silly out of memory message in out of memory situation.

parent a2174f04
...@@ -127,10 +127,7 @@ static int Create( vlc_object_t *p_this ) ...@@ -127,10 +127,7 @@ static int Create( vlc_object_t *p_this )
/* Allocate structure */ /* Allocate structure */
p_vout->p_sys = malloc( sizeof( vout_sys_t ) ); p_vout->p_sys = malloc( sizeof( vout_sys_t ) );
if( p_vout->p_sys == NULL ) if( p_vout->p_sys == NULL )
{
msg_Err( p_vout, "out of memory" );
return VLC_ENOMEM; return VLC_ENOMEM;
}
p_vout->pf_init = Init; p_vout->pf_init = Init;
p_vout->pf_end = End; p_vout->pf_end = End;
......
...@@ -79,10 +79,7 @@ static int Create( vlc_object_t *p_this ) ...@@ -79,10 +79,7 @@ static int Create( vlc_object_t *p_this )
/* Allocate structure */ /* Allocate structure */
p_filter->p_sys = malloc( sizeof( filter_sys_t ) ); p_filter->p_sys = malloc( sizeof( filter_sys_t ) );
if( p_filter->p_sys == NULL ) if( p_filter->p_sys == NULL )
{
msg_Err( p_filter, "out of memory" );
return VLC_ENOMEM; return VLC_ENOMEM;
}
p_filter->pf_video_filter = Filter; p_filter->pf_video_filter = Filter;
......
...@@ -245,10 +245,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt ) ...@@ -245,10 +245,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
/* Allocate descriptor */ /* Allocate descriptor */
p_vout = vlc_object_create( p_parent, VLC_OBJECT_VOUT ); p_vout = vlc_object_create( p_parent, VLC_OBJECT_VOUT );
if( p_vout == NULL ) if( p_vout == NULL )
{
msg_Err( p_parent, "out of memory" );
return NULL; return NULL;
}
/* Initialize pictures - translation tables and functions /* Initialize pictures - translation tables and functions
* will be initialized later in InitThread */ * will be initialized later in InitThread */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment