avfilter/vf_pad: add logging context to log

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
Steven Liu 2019-09-30 15:12:43 +08:00
parent 9b2155ad3f
commit 985ed65117
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ static int config_input(AVFilterLink *inlink)
return 0;
eval_fail:
av_log(NULL, AV_LOG_ERROR,
av_log(ctx, AV_LOG_ERROR,
"Error when evaluating the expression '%s'\n", expr);
return ret;