OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c6893
)
opencl: Force the use of 1.2 APIs
author
Timothy Gu
<timothygu99@gmail.com>
Mon, 12 Oct 2015 09:50:18 +0000
(
02:50
-0700)
committer
Timothy Gu
<timothygu99@gmail.com>
Sat, 17 Oct 2015 08:16:50 +0000
(
01:16
-0700)
Silences warnings regarding `clCreateCommandQueue` being deprecated.
Only a very limited number of products support 2.0. Since the
replacement API (`clCreateCommandQueueWithProperties`) is only available
in 2.0, we should not update it just yet.
libavutil/opencl.h
patch
|
blob
|
history
diff --git
a/libavutil/opencl.h
b/libavutil/opencl.h
index
e423e55
..
168461d
100644
(file)
--- a/
libavutil/opencl.h
+++ b/
libavutil/opencl.h
@@
-32,6
+32,7
@@
#ifndef LIBAVUTIL_OPENCL_H
#define LIBAVUTIL_OPENCL_H
+#define CL_USE_DEPRECATED_OPENCL_1_2_APIS 1
#ifdef __APPLE__
#include <OpenCL/cl.h>
#else