[vlc-commits] DVDnav: some .iso files are wrongly named bin or nrg
Jean-Baptiste Kempf
git at videolan.org
Fri Mar 30 18:11:39 CEST 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Mar 28 13:52:51 2012 +0200| [ac9ed3e1939068eb70a65c4c6b17debb46086c80] | committer: Jean-Baptiste Kempf
DVDnav: some .iso files are wrongly named bin or nrg
(cherry picked from commit 03776f4685e99c562c840a2e8ddfcc8ee9609c8c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=ac9ed3e1939068eb70a65c4c6b17debb46086c80
---
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 fad5ed6..bf9bfec 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -1476,7 +1476,8 @@ static int ProbeDVD( const char *psz_name )
goto bailout;
ext++;
if( strcasecmp( ext, "iso" ) && strcasecmp( ext, "img" ) &&
- strcasecmp( ext, "mdf" ) && strcasecmp( ext, "dvd" ) )
+ strcasecmp( ext, "mdf" ) && strcasecmp( ext, "dvd" ) &&
+ strcasecmp( ext, "bin" ) && strcasecmp( ext, "nrg" ) )
goto bailout;
/* Try to find the anchor (2 bytes at LBA 256) */
More information about the vlc-commits
mailing list