Fix warning in Android camera code
This commit is contained in:
parent
36f912261b
commit
a201233b59
@ -272,7 +272,7 @@ std::string CameraWrapperConnector::getDefaultPathLibFolder()
|
|||||||
{
|
{
|
||||||
char path[128];
|
char path[128];
|
||||||
sprintf(path, "/data/data/org.opencv.lib_v%d%d_%s/lib/", CV_MAJOR_VERSION, CV_MINOR_VERSION, packageList[i].c_str());
|
sprintf(path, "/data/data/org.opencv.lib_v%d%d_%s/lib/", CV_MAJOR_VERSION, CV_MINOR_VERSION, packageList[i].c_str());
|
||||||
LOGD("Trying package \"%s\" (\"%s\")", packageList[i], path);
|
LOGD("Trying package \"%s\" (\"%s\")", packageList[i].c_str(), path);
|
||||||
|
|
||||||
DIR* dir = opendir(path);
|
DIR* dir = opendir(path);
|
||||||
if (!dir)
|
if (!dir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user