[MPlayer-dev-eng] [PATCH] mpdvdkit2 cygwin support

Joey Parrish joey at yunamusic.com
Sun Aug 11 06:38:31 CEST 2002


On Sat, Aug 10, 2002 at 11:16:22PM -0500, Joey Parrish wrote:
> Hello,
> 
> Attached below is a patch against libmpdvdkit-2.1test as posted

Oh my god.  I must be the absolute king of forgetting to attach
my patches.  Really, this is probably the 18th time I've done
this here, which is amazing since I've hardly ever contributed
anything useful.  :-D

But really, this time I really do have a patch.

--Joey

-- 

"All you need is love." --Darth Vader
-------------- next part --------------
--- libmpdvdkit/dvd_reader.c	2002-08-10 08:42:26.000000000 -0500
+++ libmpdvdkit/dvd_reader.c	2002-08-10 23:05:04.000000000 -0500
@@ -17,6 +17,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/time.h> /* For the timing of dvdcss_title crack. */
@@ -422,6 +424,9 @@
             }
             fclose( mntfile );
 	}
+#elif defined(WIN32)	
+	dev_name = strdup(path);
+	auth_drive = DVDOpenImageFile( path, have_css );
 #endif
 	if( !dev_name ) {
 	  fprintf( stderr, "libdvdread: Couldn't find device name.\n" );


More information about the MPlayer-dev-eng mailing list