summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-10-10 21:02:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-10-10 21:02:15 +0000
commit35dcc67558b63d08c47cd4bb3f989d7a9b77b884 (patch)
tree697716e5257c46ca1bf30432cb6abe289910e9c6
parent041245bc0195fce8418a755c5e3be18e0d202f7d (diff)
parent2923347474df7d73d455d21e21d530b6306371cf (diff)
downloadopencv-35dcc67558b63d08c47cd4bb3f989d7a9b77b884.tar.gz
Merge "define LOG_TAG before including android/log.h"android-n-mr1-preview-2android-n-mr1-preview-1
-rw-r--r--otherlibs/highgui/cvcap_socket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/highgui/cvcap_socket.cpp b/otherlibs/highgui/cvcap_socket.cpp
index 6e2f01e..96e4f0d 100644
--- a/otherlibs/highgui/cvcap_socket.cpp
+++ b/otherlibs/highgui/cvcap_socket.cpp
@@ -47,15 +47,15 @@
// capture video from a socket connection
//
+#define LOG_TAG "CVJNI"
+#define LOGV(...) __android_log_print(ANDROID_LOG_SILENT, LOG_TAG, __VA_ARGS__)
+
#include "_highgui.h"
#include <android/log.h>
#include <errno.h>
#include <netdb.h>
#include <unistd.h>
-#define LOGV(...) __android_log_print(ANDROID_LOG_SILENT, LOG_TAG, __VA_ARGS__)
-#define LOG_TAG "CVJNI"
-
#ifdef NDEBUG
#define CV_WARN(message)
#else