]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_crop: add logging context to log
authorSteven Liu <lq@chinaffmpeg.org>
Mon, 30 Sep 2019 07:08:33 +0000 (15:08 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 8 Oct 2019 05:47:34 +0000 (13:47 +0800)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavfilter/vf_crop.c

index 9fca7a73096901734c11125cbbb4a59755e10f07..d6b4feb5136e2cd9c0ca625ba8e06bf9567da998 100644 (file)
@@ -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;
 }