shithub: libdvdcss

Download patch

ref: 45f037d4544409de22d6534d9b9c0016863c2029
parent: 618d5b8125a10c9a7e584a15f2cfac4ea12c7a7c
author: Steve Lhomme <robux@videolan.org>
date: Sun Sep 4 04:31:26 EDT 2005

* libdvdcss: MSVC7 compilation fixes (shouldn't break mingw32)

--- a/src/device.c
+++ b/src/device.c
@@ -587,7 +587,7 @@
     }
 
     i_seek = (off_t)i_blocks * (off_t)DVDCSS_BLOCK_SIZE;
-    i_seek = lseek( dvdcss->i_read_fd, i_seek, SEEK_SET );
+    i_seek = lseek64( dvdcss->i_read_fd, i_seek, SEEK_SET );
 
     if( i_seek < 0 )
     {