[FFmpeg-cvslog] lavu/opencl: fix bug of opencl options

highgod0401 git at videolan.org
Thu May 2 14:47:27 CEST 2013


ffmpeg | branch: master | highgod0401 <highgod0401 at gmail.com> | Thu May  2 12:52:04 2013 +0800| [6354a6ce5271a32857238a8ccb2107286984feb5] | committer: Michael Niedermayer

lavu/opencl: fix bug of opencl options

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6354a6ce5271a32857238a8ccb2107286984feb5
---

 libavutil/opencl.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index 1fdb096..8974a58 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 = {



More information about the ffmpeg-cvslog mailing list