[vlc-commits] dc1394: remove tautology

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


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

dc1394: remove tautology

access_demux are probed in strict mode.

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

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

diff --git a/modules/access/dc1394.c b/modules/access/dc1394.c
index c958254d0e..8ce5d1e478 100644
--- a/modules/access/dc1394.c
+++ b/modules/access/dc1394.c
@@ -166,9 +166,6 @@ static int Open( vlc_object_t *p_this )
     es_format_t   fmt;
     dc1394error_t res;
 
-    if( strncmp(p_demux->psz_access, "dc1394", 6) != 0 )
-        return VLC_EGENERIC;
-
     /* Set up p_demux */
     p_demux->pf_demux = Demux;
     p_demux->pf_control = Control;



More information about the vlc-commits mailing list