summaryrefslogtreecommitdiff
path: root/libavfilter/deshake_opencl.c
diff options
context:
space:
mode:
authorhighgod0401 <highgod0401@gmail.com>2013-04-11 12:57:52 +0800
committerMichael Niedermayer <michaelni@gmx.at>2013-04-11 12:46:34 +0200
commit9d442b9cc0347bf9fc9c753cda62df7f43842416 (patch)
tree2b176a8879d7c6dbc7b0a63197f768f671cb343e /libavfilter/deshake_opencl.c
parent4c9b031559c6bd8a02ba12441476260323e84e0a (diff)
opencl: add spec opencl device APIs 20130411
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/deshake_opencl.c')
-rw-r--r--libavfilter/deshake_opencl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/deshake_opencl.c b/libavfilter/deshake_opencl.c
index 63d144a241..0f6dcc4d6a 100644
--- a/libavfilter/deshake_opencl.c
+++ b/libavfilter/deshake_opencl.c
@@ -98,10 +98,7 @@ int ff_opencl_deshake_init(AVFilterContext *ctx)
{
int ret = 0;
DeshakeContext *deshake = ctx->priv;
- AVDictionary *options = NULL;
- av_dict_set(&options, "build_options", "-I.", 0);
- ret = av_opencl_init(options, NULL);
- av_dict_free(&options);
+ ret = av_opencl_init(NULL);
if (ret < 0)
return ret;
deshake->opencl_ctx.matrix_size = MATRIX_SIZE;