[libbluray-devel] Cosmetics (indent)
hpi1
git at videolan.org
Thu Dec 20 10:57:31 CET 2012
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Nov 16 09:18:51 2012 +0200| [9cb3a3ea5fa58cb6b10efde261a911a6920480d2] | committer: hpi1
Cosmetics (indent)
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=9cb3a3ea5fa58cb6b10efde261a911a6920480d2
---
src/libbluray/bdj/bdj.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 1401d22..558f163 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -231,26 +231,26 @@ void bdj_close(BDJAVA *bdjava)
}
if (bdjava->jvm) {
- if ((*bdjava->jvm)->GetEnv(bdjava->jvm, (void**)&env, JNI_VERSION_1_6) != JNI_OK) {
- (*bdjava->jvm)->AttachCurrentThread(bdjava->jvm, (void**)&env, NULL);
- attach = 1;
- }
+ if ((*bdjava->jvm)->GetEnv(bdjava->jvm, (void**)&env, JNI_VERSION_1_6) != JNI_OK) {
+ (*bdjava->jvm)->AttachCurrentThread(bdjava->jvm, (void**)&env, NULL);
+ attach = 1;
+ }
- if (bdj_get_method(env, &shutdown_class, &shutdown_id,
- "org/videolan/Libbluray", "shutdown", "()V")) {
- (*env)->CallStaticVoidMethod(env, shutdown_class, shutdown_id);
- (*env)->DeleteLocalRef(env, shutdown_class);
- }
+ if (bdj_get_method(env, &shutdown_class, &shutdown_id,
+ "org/videolan/Libbluray", "shutdown", "()V")) {
+ (*env)->CallStaticVoidMethod(env, shutdown_class, shutdown_id);
+ (*env)->DeleteLocalRef(env, shutdown_class);
+ }
- if (attach) {
- (*bdjava->jvm)->DetachCurrentThread(bdjava->jvm);
- }
+ if (attach) {
+ (*bdjava->jvm)->DetachCurrentThread(bdjava->jvm);
+ }
- (*bdjava->jvm)->DestroyJavaVM(bdjava->jvm);
+ (*bdjava->jvm)->DestroyJavaVM(bdjava->jvm);
}
if (bdjava->h_libjvm) {
- dl_dlclose(bdjava->h_libjvm);
+ dl_dlclose(bdjava->h_libjvm);
}
X_FREE(bdjava);
More information about the libbluray-devel
mailing list