22 lines
813 B
Plaintext
22 lines
813 B
Plaintext
$OpenBSD: patch-dvdread_dvd_reader_c,v 1.2 2002/01/07 00:55:31 pvalchev Exp $
|
|
--- dvdread/dvd_reader.c.orig Tue Oct 9 14:07:40 2001
|
|
+++ dvdread/dvd_reader.c Mon Dec 3 11:15:08 2001
|
|
@@ -116,7 +116,7 @@ static void setupCSS( void )
|
|
fprintf( stderr, "libdvdread: Can't open libdvdcss: %s.\n",
|
|
dlerror() );
|
|
} else {
|
|
-#if defined(__OpenBSD__)
|
|
+#if defined(__OpenBSD__) && !defined (__ELF__)
|
|
#define U_S "_"
|
|
#else
|
|
#define U_S
|
|
@@ -844,7 +844,7 @@ static int64_t DVDReadBlocksUDF( dvd_fil
|
|
block_count, data, DVDCSS_READ_DECRYPT );
|
|
}
|
|
|
|
-static int64_t DVDReadBlocksPath( dvd_file_t *dvd_file, size_t offset,
|
|
+static int64_t DVDReadBlocksPath( dvd_file_t *dvd_file, uint32_t offset,
|
|
size_t block_count, unsigned char *data )
|
|
{
|
|
int i;
|