[FFmpeg-devel] [PATCH v1 13/14] avfilter/boxblur: add logging context to log

Paul B Mahol onemda at gmail.com
Mon Sep 30 10:25:02 EEST 2019


lgtm

On 9/30/19, Steven Liu <lq at chinaffmpeg.org> wrote:
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
>  libavfilter/boxblur.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/boxblur.c b/libavfilter/boxblur.c
> index 4534b456d9..2287396f2e 100644
> --- a/libavfilter/boxblur.c
> +++ b/libavfilter/boxblur.c
> @@ -91,7 +91,7 @@ int ff_boxblur_eval_filter_params(AVFilterLink *inlink,
>                                   NULL, NULL, NULL, NULL, NULL, 0, ctx); \
>      comp->radius = res;                                                 \
>      if (ret < 0) {                                                      \
> -        av_log(NULL, AV_LOG_ERROR,                                      \
> +        av_log(ctx, AV_LOG_ERROR,                                      \
>                 "Error when evaluating " #comp " radius expression '%s'\n",
> expr); \
>          return ret;                                                     \
>      }
> --
> 2.15.1
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list