[vlc-devel] commit: Allow unspecified demux with stream_DemuxNew(). ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Oct 11 17:18:52 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Oct 11 18:18:12 2008 +0300| [e513907407f566f7fa74ce18970bcc1aa2266c18] | committer: Rémi Denis-Courmont 

Allow unspecified demux with stream_DemuxNew().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e513907407f566f7fa74ce18970bcc1aa2266c18
---

 src/input/demux.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/input/demux.c b/src/input/demux.c
index 27c906e..737e6fb 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -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;




More information about the vlc-devel mailing list