Skip to content

Commit

Permalink
Merge pull request opencv#778 from asmorkalov:android_wanr_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kamaev authored and OpenCV Buildbot committed Apr 5, 2013
2 parents 72e49dc + f89cc19 commit 74e5ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/android/native-activity/jni/native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct Engine
cv::Ptr<cv::VideoCapture> capture;
};

cv::Size calc_optimal_camera_resolution(const char* supported, int width, int height)
static cv::Size calc_optimal_camera_resolution(const char* supported, int width, int height)
{
int frame_width = 0;
int frame_height = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using namespace std;
using namespace cv;

extern "C" {
JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tuturial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba);
JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba);

JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba)
{
Expand Down

0 comments on commit 74e5ff2

Please sign in to comment.