Allow unspecified demux with stream_DemuxNew().
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 11 Oct 2008 15:18:12 +0000 (18:18 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 11 Oct 2008 15:18:48 +0000 (18:18 +0300)
src/input/demux.c

index 27c906e..737e6fb 100644 (file)
@@ -325,8 +325,6 @@ stream_t *__stream_DemuxNew( vlc_object_t *p_obj, const char *psz_demux,
     stream_t       *s;
     d_stream_sys_t *p_sys;
 
-    if( psz_demux == NULL || *psz_demux == '\0' ) return NULL;
-
     s = vlc_stream_create( p_obj );
     if( s == NULL )
         return NULL;