[vlc-commits] decklink: remove antilogy

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


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

decklink: remove antilogy

psz_access cannot be empty for an access_demux.

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

 modules/access/decklink.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp
index 04f0b469f4..88b2adad78 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -486,10 +486,6 @@ static int Open(vlc_object_t *p_this)
     int         rate;
     BMDVideoInputFlags flags = bmdVideoInputFlagDefault;
 
-    /* Only when selected */
-    if (*demux->psz_access == '\0')
-        return VLC_EGENERIC;
-
     /* Set up demux */
     demux->pf_demux = NULL;
     demux->pf_control = Control;



More information about the vlc-commits mailing list