On 04/09/2013 01:33 PM, Anton Khirnov wrote:
> ---
>  libavfilter/avfilter.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> index 199d8f9..8f028e1 100644
> --- a/libavfilter/avfilter.c
> +++ b/libavfilter/avfilter.c
> @@ -273,6 +273,9 @@ AVFilter *avfilter_get_by_name(const char *name)
>  {
>      AVFilter *f = NULL;
>  
> +    if (!name)
> +        return NULL;
> +
>      while ((f = avfilter_next(f)))
>          if (!strcmp(f->name, name))
>              return f;

fine

-Justin

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

Reply via email to