diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-13 14:37:48 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-13 14:37:48 +0000 |
commit | f6c182a0c3de71059e73dd5013c8b4dae0d83a5e (patch) | |
tree | e2eed57ac14d026b7f4d508f3e191cd221f1ed24 | |
parent | 5952be07dc3fdd7bb9fa497b2a3fd12fc7287b41 (diff) | |
download | ffmpeg-f6c182a0c3de71059e73dd5013c8b4dae0d83a5e.tar.gz |
Fix frei0r filter after av_parse_color() syntax change.
Originally committed as revision 25748 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavfilter/vf_frei0r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 4afbded5a8..226f656bcd 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -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; |