ref: 060c45697b9bfd1cb834738e8da55357202713a8
parent: b2ee28c060e844ff81c23f0d5511d4a06ff62ec6
author: Sam Hocevar <sam@videolan.org>
date: Tue Jun 4 03:02:57 EDT 2002
* ./src/libdvdcss.c: Win32 compilation fix.
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,7 @@
HEAD
- * Nothing yet.
+ * ./src/libdvdcss.c: Win32 compilation fix.
1.2.1
Sun, 2 Jun 2002 18:17:55 +0200
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -2,7 +2,7 @@
* libdvdcss.c: DVD reading library.
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: libdvdcss.c,v 1.10 2002/06/02 15:54:10 sam Exp $
+ * $Id: libdvdcss.c,v 1.11 2002/06/04 07:02:57 sam Exp $
*
* Authors: St�phane Borel <stef@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
@@ -161,7 +161,9 @@
}
/* Initialize structure with default values */
+#ifndef WIN32
dvdcss->i_raw_fd = -1;
+#endif
dvdcss->p_titles = NULL;
dvdcss->psz_error = "no error";
dvdcss->i_method = DVDCSS_METHOD_KEY;