2022-03-15 17:07:25 -04:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2022-03-15 14:57:53 -04:00
|
|
|
From: Daniel Micay <danielmicay@gmail.com>
|
|
|
|
Date: Mon, 4 Jan 2021 19:56:14 -0500
|
|
|
|
Subject: [PATCH] constify JNINativeMethod table
|
|
|
|
|
|
|
|
---
|
|
|
|
framesequence/jni/FrameSequenceJNI.cpp | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/framesequence/jni/FrameSequenceJNI.cpp b/framesequence/jni/FrameSequenceJNI.cpp
|
|
|
|
index c701f03..4041733 100644
|
|
|
|
--- a/framesequence/jni/FrameSequenceJNI.cpp
|
|
|
|
+++ b/framesequence/jni/FrameSequenceJNI.cpp
|
|
|
|
@@ -141,7 +141,7 @@ static jlong JNICALL nativeGetFrame(
|
|
|
|
return delayMs;
|
|
|
|
}
|
|
|
|
|
|
|
|
-static JNINativeMethod gMethods[] = {
|
|
|
|
+static const JNINativeMethod gMethods[] = {
|
|
|
|
{ "nativeDecodeByteArray",
|
|
|
|
"([BII)L" JNI_PACKAGE "/FrameSequence;",
|
|
|
|
(void*) nativeDecodeByteArray
|