aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhighgod0401 <highgod0401@gmail.com>2013-05-02 12:52:04 +0800
committerMichael Niedermayer <michaelni@gmx.at>2013-05-02 14:42:02 +0200
commit6354a6ce5271a32857238a8ccb2107286984feb5 (patch)
treef4c375052057ed6cc33d0ef534277f4203bc313a
parenta64c9afe3de3718b37199a957bc2dd49dc3cc44b (diff)
downloadffmpeg-6354a6ce5271a32857238a8ccb2107286984feb5.tar.gz
lavu/opencl: fix bug of opencl options
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/opencl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index 1fdb096fc8..8974a589c2 100644
--- a/libavutil/opencl.c
+++ b/libavutil/opencl.c
@@ -81,6 +81,7 @@ static const AVOption opencl_options[] = {
{ "platform_idx", "set platform index value", OFFSET(platform_idx), AV_OPT_TYPE_INT, {.i64=-1}, -1, INT_MAX},
{ "device_idx", "set device index value", OFFSET(device_idx), AV_OPT_TYPE_INT, {.i64=-1}, -1, INT_MAX},
{ "build_options", "build options of opencl", OFFSET(build_options), AV_OPT_TYPE_STRING, {.str="-I."}, CHAR_MIN, CHAR_MAX},
+ { NULL }
};
static const AVClass openclutils_class = {