]> git.sesse.net Git - vlc/blobdiff - modules/codec/dvbsub.c
Remove unneeded msg_Err.
[vlc] / modules / codec / dvbsub.c
index 258d01c33afe259afc96e1af7cbe96b9e81a9e00..a56c83d554742804d2d1732d179d9950d75db25f 100644 (file)
@@ -1664,10 +1664,7 @@ static int OpenEncoder( vlc_object_t *p_this )
 
     /* Allocate the memory needed to store the decoder's structure */
     if( ( p_sys = (encoder_sys_t *)malloc(sizeof(encoder_sys_t)) ) == NULL )
-    {
-        msg_Err( p_enc, "out of memory" );
         return VLC_ENOMEM;
-    }
     p_enc->p_sys = p_sys;
 
     p_enc->pf_encode_sub = Encode;