]> git.sesse.net Git - vlc/blobdiff - modules/access/dvdnav.c
rtp sout: fix RTSP track numbering in SDP
[vlc] / modules / access / dvdnav.c
index d157893d13b13ef012cd22040d221326da8b9316..82dedfb68b7e3178c0ead81e93e37436e22c8b2b 100644 (file)
@@ -42,9 +42,7 @@
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
@@ -1369,9 +1367,6 @@ static int ProbeDVD( demux_t *p_demux, char *psz_name )
         return VLC_SUCCESS;
     }
 
-    if( !strcmp( psz_name, "-" ) ) /* stdin -> file access */
-        return VLC_EGENERIC;
-
     if( (i_fd = utf8_open( psz_name, O_RDONLY |O_NONBLOCK )) == -1 )
     {
         return VLC_SUCCESS; /* Let dvdnav_open() do the probing */