Skip to content

Commit 74e5ff2

Browse files
Andrey KamaevOpenCV Buildbot
Andrey Kamaev
authored and
OpenCV Buildbot
committed
Merge pull request opencv#778 from asmorkalov:android_wanr_fix
2 parents 72e49dc + f89cc19 commit 74e5ff2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/android/native-activity/jni/native.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct Engine
2828
cv::Ptr<cv::VideoCapture> capture;
2929
};
3030

31-
cv::Size calc_optimal_camera_resolution(const char* supported, int width, int height)
31+
static cv::Size calc_optimal_camera_resolution(const char* supported, int width, int height)
3232
{
3333
int frame_width = 0;
3434
int frame_height = 0;

samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ using namespace std;
88
using namespace cv;
99

1010
extern "C" {
11-
JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tuturial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba);
11+
JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba);
1212

1313
JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba)
1414
{

0 commit comments

Comments
 (0)