[libbluray-devel] Add correct prototype for VM for win32 if loading through a dll. Otherwise stack gets messed up, and loading VM will crash libbluray 1/ 2 times.
Erik Van Grunderbeeck
git at videolan.org
Tue Mar 29 12:43:01 CEST 2011
libbluray | branch: master | Erik Van Grunderbeeck <erik at arawix.com> | Tue Mar 22 11:32:13 2011 +0100| [f0305f4b698e68471a2778a7c87cf94121ec4f39] | committer: hpi1
Add correct prototype for VM for win32 if loading through a dll. Otherwise stack gets messed up, and loading VM will crash libbluray 1/2 times.
Signed-off-by: Erik Van Grunderbeeck <erik at arawix.com>
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f0305f4b698e68471a2778a7c87cf94121ec4f39
---
src/libbluray/bdj/bdj.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 8480e6b..fdf59e5 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -33,7 +33,7 @@
#include <stdlib.h>
#include <string.h>
-typedef jint (*JNICALL fptr_JNI_CreateJavaVM)(JavaVM **pvm, void **penv,void *args);
+typedef jint (JNICALL * fptr_JNI_CreateJavaVM) (JavaVM **pvm, void **penv,void *args);
int start_xlet(JNIEnv* env, const char* path, jobject bdjo, BDJAVA* bdjava);
void* load_jvm();
More information about the libbluray-devel
mailing list