[matroska] r807 - trunk/DvdMenuXtractor/libdvdread/dvdread

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2004-09-15 01:01:56 +0400 (Wed, 15 Sep 2004)
New Revision: 807

Modified:
   trunk/DvdMenuXtractor/libdvdread/dvdread/dvd_input.c
Log:
windows open file in text mode by default

Modified: trunk/DvdMenuXtractor/libdvdread/dvdread/dvd_input.c
===================================================================
--- trunk/DvdMenuXtractor/libdvdread/dvdread/dvd_input.c	2004-09-14 20:19:23 UTC (rev 806)
+++ trunk/DvdMenuXtractor/libdvdread/dvdread/dvd_input.c	2004-09-14 21:01:56 UTC (rev 807)
@@ -165,7 +165,7 @@
   }
   
   /* Open the device */
-  dev->fd = open(target, O_RDONLY);
+  dev->fd = open(target, O_RDONLY|O_BINARY);
   if(dev->fd < 0) {
     perror("libdvdread: Could not open input");
     free(dev);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.