diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 399f09e10f..345509bd44 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -141,6 +141,9 @@ static int set_params(AVFilterContext *ctx, const char *params) Frei0rContext *frei0r = ctx->priv; int i; + if (!params) + return 0; + for (i = 0; i < frei0r->plugin_info.num_params; i++) { f0r_param_info_t info; char *param;