[vlc-commits] DVDnav: some .iso files are wrongly named bin or nrg

Jean-Baptiste Kempf git at videolan.org
Wed Mar 28 14:54:02 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Mar 28 13:52:51 2012 +0200| [03776f4685e99c562c840a2e8ddfcc8ee9609c8c] | committer: Jean-Baptiste Kempf

DVDnav: some .iso files are wrongly named bin or nrg

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

 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 1817083..bad7f3d 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -1467,7 +1467,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