[vlc-commits] avcapture: remove antilogy
    Rémi Denis-Courmont 
    git at videolan.org
       
    Sat Dec  2 22:26:40 CET 2017
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec  2 22:07:14 2017 +0200| [f1311b425aa74c93d605fa7eb91d4377772913fa] | committer: Rémi Denis-Courmont
avcapture: remove antilogy
psz_access cannot be empty for an access_demux.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f1311b425aa74c93d605fa7eb91d4377772913fa
---
 modules/access/avcapture.m | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/modules/access/avcapture.m b/modules/access/avcapture.m
index 6580000a35..d736b7dfbe 100644
--- a/modules/access/avcapture.m
+++ b/modules/access/avcapture.m
@@ -257,10 +257,6 @@ static int Open(vlc_object_t *p_this)
 
     char                    *psz_uid = NULL;
 
-    /* Only when selected */
-    if ( *p_demux->psz_access == '\0' )
-        return VLC_EGENERIC;
-
     @autoreleasepool {
         if (p_demux->psz_location && *p_demux->psz_location)
             psz_uid = strdup(p_demux->psz_location);
    
    
More information about the vlc-commits
mailing list