Commit bfe03205 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '4e0be9c8'

* commit '4e0be9c8':
  vf_frei0r: prevent a segfault when filter parameters are not set
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 2b0ff8d6 4e0be9c8
......@@ -479,6 +479,10 @@ static int source_config_props(AVFilterLink *outlink)
av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance.\n");
return AVERROR(EINVAL);
}
if (!s->params) {
av_log(ctx, AV_LOG_ERROR, "frei0r filter parameters not set.\n");
return AVERROR(EINVAL);
}
return set_params(ctx, s->params);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment