]> git.sesse.net Git - vlc/blobdiff - modules/access/screen/screen.c
Cleaning (don't a message when the system runs out of memory) and fix a potential...
[vlc] / modules / access / screen / screen.c
index aff35f8eecd7fd37601e48f4ad94c8bf19ff3c80..8287967b2498fde6a7645529274e867af2b9fc27 100644 (file)
@@ -341,9 +341,7 @@ void RenderCursor( demux_t *p_demux, int i_x, int i_y,
     if( !p_sys->p_blend )
     {
         p_sys->p_blend = vlc_object_create( p_demux, sizeof(filter_t) );
-        if( !p_sys->p_blend )
-            msg_Err( p_demux, "Could not allocate memory for blending module" );
-        else
+        if( p_sys->p_blend )
         {
             es_format_Init( &p_sys->p_blend->fmt_in, VIDEO_ES,
                             VLC_FOURCC('R','G','B','A') );