]> git.sesse.net Git - vlc/blobdiff - modules/misc/rtsp.c
Remove unneeded msg_Error about memory failure.
[vlc] / modules / misc / rtsp.c
index 450551d9ef8171f1ff1c5d2cb795531570c04be0..c162b1877bf0bab5c3d13e3573cc57584771bdb3 100644 (file)
@@ -365,10 +365,7 @@ static vod_media_t *MediaNew( vod_t *p_vod, const char *psz_name,
     int i;
 
     if( !p_media )
-    {
-        msg_Err( p_vod, "not enough memory" );
         return NULL;
-    }
 
     memset( p_media, 0, sizeof(vod_media_t) );
     p_media->id = p_sys->i_media_id++;