On Tue, May 03, 2016 at 03:43:38PM +0200, Diego Biurrun wrote:
> --- a/libavfilter/vf_frei0r.c
> +++ b/libavfilter/vf_frei0r.c
> @@ -172,7 +172,7 @@ static int set_params(AVFilterContext *ctx, const char 
> *params)
>          switch (info.type) {
>              void *v;
>              double d;
> -            char s[128];
> +            char str[128];
>              f0r_param_color_t col;
>              f0r_param_position_t pos;
>  
> @@ -197,9 +197,9 @@ static int set_params(AVFilterContext *ctx, const char 
> *params)
>              av_log(ctx, AV_LOG_DEBUG, "%f/%f", pos.x, pos.y);
>              break;
>          default: /* F0R_PARAM_STRING */
> -            v = s;
> +            v = str;
>              s->get_param_value(s->instance, v, i);
> -            av_log(ctx, AV_LOG_DEBUG, "'%s'", s);
> +            av_log(ctx, AV_LOG_DEBUG, "'%s'", str);
>              break;
>          }
>  #endif

Alternatively, one could just kill the whole debug block, likely not a
big loss for humankind..

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to