[libbluray-devel] Fix log entry location
hpi1
git at videolan.org
Thu Mar 30 11:55:18 CEST 2017
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Mar 30 12:40:07 2017 +0300| [a4f696fee85f8f45855e125ef331e6b5a325cecc] | committer: hpi1
Fix log entry location
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a4f696fee85f8f45855e125ef331e6b5a325cecc
---
src/libbluray/bdj/native/org_videolan_Libbluray.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/native/org_videolan_Libbluray.c b/src/libbluray/bdj/native/org_videolan_Libbluray.c
index 78d339a..77e9833 100644
--- a/src/libbluray/bdj/native/org_videolan_Libbluray.c
+++ b/src/libbluray/bdj/native/org_videolan_Libbluray.c
@@ -186,10 +186,12 @@ JNIEXPORT jobjectArray JNICALL Java_org_videolan_Libbluray_getTitleInfosN
(JNIEnv * env, jclass cls, jlong np)
{
BLURAY* bd = (BLURAY*)(intptr_t)np;
- const BLURAY_DISC_INFO *disc_info = bd_get_disc_info(bd);
+ const BLURAY_DISC_INFO *disc_info;
BD_DEBUG(DBG_JNI, "getTitleInfosN()\n");
+ disc_info = bd_get_disc_info(bd);
+
return _make_title_infos(env, disc_info);
}
More information about the libbluray-devel
mailing list