diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-09-22 00:42:14 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-09-25 01:58:51 +0100 |
commit | d369448ace7ab9b77b6f0e644fdb42ff8dc9a31d (patch) | |
tree | 7b0435adf621698cb8698c464b7140776cf6b739 /other/astyle | |
parent | f60900c4b813abbce213db6de217837645c6590e (diff) |
Work around bug in opencv3 headers.
OpenCV 3.1 doesn't define cvRound in C, only in C++. Thus, we now need
to compile av_test as C++ code.
Diffstat (limited to 'other/astyle')
-rwxr-xr-x | other/astyle/format-source | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/other/astyle/format-source b/other/astyle/format-source index 157f0fec..47a4a420 100755 --- a/other/astyle/format-source +++ b/other/astyle/format-source | |||
@@ -20,8 +20,8 @@ if ! which "$ASTYLE"; then | |||
20 | exit 1 | 20 | exit 1 |
21 | fi | 21 | fi |
22 | 22 | ||
23 | if [ -f ../apidsl/_build/apigen.native ]; then | 23 | if [ -f ../apidsl/apigen.native ]; then |
24 | APIDSL=../apidsl/_build/apigen.native | 24 | APIDSL=../apidsl/apigen.native |
25 | else | 25 | else |
26 | APIDSL=apidsl_curl | 26 | APIDSL=apidsl_curl |
27 | fi | 27 | fi |