[vlc-commits] Accept mdf and dvd as extension for DVD iso
Jean-Baptiste Kempf
git at videolan.org
Fri Sep 16 18:58:18 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 16 18:57:44 2011 +0200| [9e3075174219c83c61a868e694ebf671474b5e1e] | committer: Jean-Baptiste Kempf
Accept mdf and dvd as extension for DVD iso
Stupid software actually uses that...
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e3075174219c83c61a868e694ebf671474b5e1e
---
modules/access/dvdnav.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index f69e05f..dcf9310 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -1467,7 +1467,8 @@ static int ProbeDVD( const char *psz_name )
if( ext == NULL )
goto bailout;
ext++;
- if( strcasecmp( ext, "iso" ) && strcasecmp( ext, "img" ) )
+ if( strcasecmp( ext, "iso" ) && strcasecmp( ext, "img" ) &&
+ strcasecmp( ext, "mdf" ) && strcasecmp( ext, "dvd" ) )
goto bailout;
/* Try to find the anchor (2 bytes at LBA 256) */
More information about the vlc-commits
mailing list