On Thu, Feb 27, 2014 at 1:36 PM, Vittorio Giovara
<[email protected]> wrote:
> ---
> I actually like this vesion more.
> Vittorio
>
>  libavfilter/vf_frei0r.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
> index 8a70a8f..54af518 100644
> --- a/libavfilter/vf_frei0r.c
> +++ b/libavfilter/vf_frei0r.c
> @@ -466,6 +466,10 @@ static int source_config_props(AVFilterLink *outlink)
>          av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance");
>          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);
>  }

Ping (and CC: [email protected])
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to