avfilter/boxblur: add logging context to log

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
pull/323/head
Steven Liu 5 years ago
parent 3dead10fa3
commit 9b2155ad3f
  1. 2
      libavfilter/boxblur.c

@ -91,7 +91,7 @@ int ff_boxblur_eval_filter_params(AVFilterLink *inlink,
NULL, NULL, NULL, NULL, NULL, 0, ctx); \ NULL, NULL, NULL, NULL, NULL, 0, ctx); \
comp->radius = res; \ comp->radius = res; \
if (ret < 0) { \ if (ret < 0) { \
av_log(NULL, AV_LOG_ERROR, \ av_log(ctx, AV_LOG_ERROR, \
"Error when evaluating " #comp " radius expression '%s'\n", expr); \ "Error when evaluating " #comp " radius expression '%s'\n", expr); \
return ret; \ return ret; \
} }

Loading…
Cancel
Save