From fc01eab943dcb08d8e699ec7a4a31a8998c433a1 Mon Sep 17 00:00:00 2001 From: nihui Date: Sun, 3 Dec 2023 22:51:01 +0800 Subject: [PATCH] fix build --- README.md | 2 +- highgui/src/v4l2_capture_rk_aiq.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ccec6f0d..75b720c1 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ https://github.com/nihui/opencv-mobile/releases/latest [opencv4-yuzuki-lizard-url]: https://github.com/nihui/opencv-mobile/releases/latest/download/opencv-mobile-4.8.1-yuzuki-lizard.zip [opencv4-purple-pi-url]: https://github.com/nihui/opencv-mobile/releases/latest/download/opencv-mobile-4.8.1-purple-pi.zip -* Android package build with ndk r25c and android api 24 +* Android package build with ndk r26b and android api 21 * iOS / iOS-Simulator / MacOS / Mac-Catalyst package build with Xcode 13.4.1 * ARM Linux package build with cross-compiler on Ubuntu-22.04 * WebAssembly package build with Emscripten 3.1.28 diff --git a/highgui/src/v4l2_capture_rk_aiq.cpp b/highgui/src/v4l2_capture_rk_aiq.cpp index 131d372b..3fad0d54 100644 --- a/highgui/src/v4l2_capture_rk_aiq.cpp +++ b/highgui/src/v4l2_capture_rk_aiq.cpp @@ -1779,7 +1779,7 @@ v4l2_capture_rk_aiq::~v4l2_capture_rk_aiq() { } -int v4l2_capture_rk_aiq::open(int width, int height, int fps) +int v4l2_capture_rk_aiq::open(int width, int height, float fps) { return -1; }