]> git.sesse.net Git - ffmpeg/commitdiff
lavu/opencl: fix bug of opencl options
authorhighgod0401 <highgod0401@gmail.com>
Thu, 2 May 2013 04:52:04 +0000 (12:52 +0800)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 2 May 2013 12:42:02 +0000 (14:42 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/opencl.c

index 1fdb096fc8200b83c8b92dc01fc138cf49c7b7cd..8974a589c23a1aa5758008bc4f0603cc62ac1661 100644 (file)
@@ -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 = {