[FFmpeg-cvslog] avfilter/vf_crop: add logging context to log

Steven Liu git at videolan.org
Tue Oct 8 08:48:29 EEST 2019


ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Mon Sep 30 15:08:33 2019 +0800| [acc1256654fcb8c85d02857e3c1f069b1bf74f73] | committer: Steven Liu

avfilter/vf_crop: add logging context to log

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=acc1256654fcb8c85d02857e3c1f069b1bf74f73
---

 libavfilter/vf_crop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 }
 



More information about the ffmpeg-cvslog mailing list