[FFmpeg-cvslog] r25748 - trunk/libavfilter/vf_frei0r.c

stefano subversion
Sat Nov 13 15:37:48 CET 2010


Author: stefano
Date: Sat Nov 13 15:37:48 2010
New Revision: 25748

Log:
Fix frei0r filter after av_parse_color() syntax change.

Modified:
   trunk/libavfilter/vf_frei0r.c

Modified: trunk/libavfilter/vf_frei0r.c
==============================================================================
--- trunk/libavfilter/vf_frei0r.c	Sat Nov 13 15:18:59 2010	(r25747)
+++ trunk/libavfilter/vf_frei0r.c	Sat Nov 13 15:37:48 2010	(r25748)
@@ -91,7 +91,7 @@ static int set_param(AVFilterContext *ct
 
     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;



More information about the ffmpeg-cvslog mailing list