[vlc-commits] dvdread: remove antilogy

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


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

dvdread: remove antilogy

psz_access cannot be empty for an access_demux.

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

 modules/access/dvdread.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/access/dvdread.c b/modules/access/dvdread.c
index 1a2d0f7e65..994d038ad5 100644
--- a/modules/access/dvdread.c
+++ b/modules/access/dvdread.c
@@ -167,13 +167,7 @@ static int Open( vlc_object_t *p_this )
     ifo_handle_t *p_vmg_file;
 
     if( !p_demux->psz_filepath || !*p_demux->psz_filepath )
-    {
-        /* Only when selected */
-        if( !*p_demux->psz_access )
-            return VLC_EGENERIC;
-
         psz_file = var_InheritString( p_this, "dvd" );
-    }
     else
         psz_file = strdup( p_demux->psz_filepath );
 



More information about the vlc-commits mailing list