From: highgod0401 Date: Thu, 2 May 2013 04:52:04 +0000 (+0800) Subject: lavu/opencl: fix bug of opencl options X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6354a6ce5271a32857238a8ccb2107286984feb5;p=ffmpeg lavu/opencl: fix bug of opencl options Signed-off-by: Michael Niedermayer --- diff --git a/libavutil/opencl.c b/libavutil/opencl.c index 1fdb096fc82..8974a589c23 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 = {