summaryrefslogtreecommitdiff
path: root/libavfilter/vf_crop.c
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-09-30 15:08:33 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-10-08 13:47:34 +0800
commitacc1256654fcb8c85d02857e3c1f069b1bf74f73 (patch)
tree726d9c336f779bf684f0d51cebfc6d35866a8663 /libavfilter/vf_crop.c
parentaea36b63571e161049280ce2445a1b736702b92a (diff)
avfilter/vf_crop: add logging context to log
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavfilter/vf_crop.c')
-rw-r--r--libavfilter/vf_crop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index 9fca7a7309..d6b4feb513 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_crop.c
@@ -244,7 +244,7 @@ static int config_input(AVFilterLink *link)
return 0;
fail_expr:
- av_log(NULL, AV_LOG_ERROR, "Error when evaluating the expression '%s'\n", expr);
+ av_log(ctx, AV_LOG_ERROR, "Error when evaluating the expression '%s'\n", expr);
return ret;
}