]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_colorkey_opencl.c
avutil/buffer: Switch AVBuffer API to size_t
[ffmpeg] / libavfilter / vf_colorkey_opencl.c
index 46a0454fbd741cf2db8a3f8f49326cea1e5e9e6d..a76a1dcb7c80ee4c2ebd7bedda0916e9be9043fe 100644 (file)
@@ -222,7 +222,7 @@ static const AVFilterPad colorkey_opencl_outputs[] = {
 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
 
 static const AVOption colorkey_opencl_options[] = {
-    { "color", "set the colorkey key color", OFFSET(colorkey_rgba), AV_OPT_TYPE_COLOR, { .str = "black" }, CHAR_MIN, CHAR_MAX, FLAGS },
+    { "color", "set the colorkey key color", OFFSET(colorkey_rgba), AV_OPT_TYPE_COLOR, { .str = "black" }, 0, 0, FLAGS },
     { "similarity", "set the colorkey similarity value", OFFSET(similarity), AV_OPT_TYPE_FLOAT, { .dbl = 0.01 }, 0.01, 1.0, FLAGS },
     { "blend", "set the colorkey key blend value", OFFSET(blend), AV_OPT_TYPE_FLOAT, { .dbl = 0.0 }, 0.0, 1.0, FLAGS },
     { NULL }