[FFmpeg-soc] [soc]: r4278 - libavfilter/vf_drawbox.c

stefano subversion at mplayerhq.hu
Sun May 17 15:15:04 CEST 2009


Author: stefano
Date: Sun May 17 15:15:04 2009
New Revision: 4278

Log:
Use the correct context for logging, fix crash.

Modified:
   libavfilter/vf_drawbox.c

Modified: libavfilter/vf_drawbox.c
==============================================================================
--- libavfilter/vf_drawbox.c	Sun May 17 15:08:56 2009	(r4277)
+++ libavfilter/vf_drawbox.c	Sun May 17 15:15:04 2009	(r4278)
@@ -58,7 +58,7 @@ static av_cold int init(AVFilterContext 
     sscanf(args, "%d:%d:%d:%d:%s", &(context->x), &(context->y),
            &(context->w), &(context->h), tmp);
 
-    if (av_parse_color(rgba_color, tmp, context) < 0)
+    if (av_parse_color(rgba_color, tmp, ctx) < 0)
         return -1;
 
     context->color.y  = RGB_TO_Y(rgba_color[0], rgba_color[1], rgba_color[2]);


More information about the FFmpeg-soc mailing list