]> git.sesse.net Git - vlc/commitdiff
DVDnav: some .iso files are wrongly named bin or nrg
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 28 Mar 2012 11:52:51 +0000 (13:52 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 28 Mar 2012 11:52:51 +0000 (13:52 +0200)
modules/access/dvdnav.c

index 181708375df2641f1893119e8836d7de49cb5ebb..bad7f3d717f90ab30d4fb213d79bf28c091d4e4f 100644 (file)
@@ -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) */