[DVDnav-discuss] r1202 - trunk/libdvdread/src/dvd_reader.c

nicodvb subversion at mplayerhq.hu
Tue Jul 20 10:01:20 CEST 2010


Author: nicodvb
Date: Tue Jul 20 10:01:19 2010
New Revision: 1202

Log:
as for win32 check for \video_ts as /video_ts in OS/2; patch by komh chollian net

Modified:
   trunk/libdvdread/src/dvd_reader.c

Modified: trunk/libdvdread/src/dvd_reader.c
==============================================================================
--- trunk/libdvdread/src/dvd_reader.c	Tue Jul 20 09:55:32 2010	(r1201)
+++ trunk/libdvdread/src/dvd_reader.c	Tue Jul 20 10:01:19 2010	(r1202)
@@ -454,7 +454,7 @@ dvd_reader_t *DVDOpen( const char *ppath
       }
     }
 
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__OS2__)
     if(strlen(path_copy) > TITLES_MAX) {
       if(!strcasecmp(&(path_copy[strlen( path_copy ) - TITLES_MAX]),
                        "\\video_ts"))


More information about the DVDnav-discuss mailing list