Commit f6c182a0 authored by Stefano Sabatini's avatar Stefano Sabatini

Fix frei0r filter after av_parse_color() syntax change.

Originally committed as revision 25748 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5952be07
......@@ -91,7 +91,7 @@ static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, cha
case F0R_PARAM_COLOR:
if (sscanf(param, "%f/%f/%f", &val.col.r, &val.col.g, &val.col.b) != 3) {
if (av_parse_color(rgba, param, ctx) < 0)
if (av_parse_color(rgba, param, -1, ctx) < 0)
goto fail;
val.col.r = rgba[0] / 255.0;
val.col.g = rgba[1] / 255.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment