Commit 5af16350 authored by hpi1's avatar hpi1

Fixed return type of bdplus_fixup and bdplus_seek

[sizeof(void*) != sizeof(int32_t)]
parent 4dd034a6
......@@ -8,6 +8,7 @@
#include "file/file.h"
typedef int (*fptr_int)();
typedef int32_t (*fptr_int32)();
typedef void* (*fptr_p_void)();
typedef struct bluray BLURAY;
......@@ -17,8 +18,8 @@ struct bluray {
uint64_t s_size;
uint64_t s_pos;
void *aacs, *bdplus;
fptr_p_void bdplus_seek; // frequently called
fptr_p_void bdplus_fixup; // frequently called
fptr_int32 bdplus_seek; // frequently called
fptr_int32 bdplus_fixup; // frequently called
void *h_libaacs, *h_libbdplus, *h_libbdnav;
fptr_int libaacs_decrypt_unit;
uint8_t int_buf[6144];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment