[vlc-commits] oss: remove antilogy

Rémi Denis-Courmont git at videolan.org
Sat Dec 2 22:26:44 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec  2 22:07:14 2017 +0200| [e160b2af46fbccef908de6d807176da45e819b72] | committer: Rémi Denis-Courmont

oss: remove antilogy

psz_access cannot be empty for an access_demux.

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

 modules/access/oss.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/access/oss.c b/modules/access/oss.c
index d50a23cdb0..c51fa5094d 100644
--- a/modules/access/oss.c
+++ b/modules/access/oss.c
@@ -150,9 +150,6 @@ static int DemuxOpen( vlc_object_t *p_this )
     demux_t     *p_demux = (demux_t*)p_this;
     demux_sys_t *p_sys;
 
-    /* Only when selected */
-    if( *p_demux->psz_access == '\0' ) return VLC_EGENERIC;
-
     /* Set up p_demux */
     p_demux->pf_control = DemuxControl;
     p_demux->pf_demux = Demux;



More information about the vlc-commits mailing list