From patchwork Wed Oct 2 06:58:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Steven X-Patchwork-Id: 15459 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id DD31D449306 for ; Wed, 2 Oct 2019 10:00:05 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C33186880F4; Wed, 2 Oct 2019 10:00:05 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from qq.com (smtpbg477.qq.com [59.36.132.88]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C410E6880DD for ; Wed, 2 Oct 2019 09:59:58 +0300 (EEST) X-QQ-mid: bizesmtp11t1569999518thkzsncn Received: from localhost (unknown [47.90.47.25]) by esmtp6.qq.com (ESMTP) with id ; Wed, 02 Oct 2019 14:58:37 +0800 (CST) X-QQ-SSF: 01100000008000K0ZRF1B00A0000000 X-QQ-FEAT: aitziBx/+zn2gNW7uZNzkY8zj2NWXGYTakOYC5IQPnTn1LxsNsj8RP9lLj2uz 7g5syxAHoCFdia8oXRo/mmJk5BEwquEWyd4n7qEhetcSAxsZtwAAdFRvJjY8I71xSQSZTE9 acL6adAb4GnGwn90mt65wFjt4okJXr5Qj8/o8+3cJ0mkJzbaOOpvGb7KY5UXgoLQxlm7GmA mUpF6Cj6MLZcWT2Asoeo12ccgczDvJAmh2lpNmKr0uzFKtek6AAlkor2mc6Z6C+wNOQFPRc gIwHdnHe6RXhBrz2UR7MMtmHxj61A7/Z3HC7UFMvtL3K7Bt/CXU9qHiZ4DNZBxkLSWuA== X-QQ-GoodBg: 0 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Wed, 2 Oct 2019 14:58:12 +0800 Message-Id: <20191002065815.30333-11-lq@chinaffmpeg.org> X-Mailer: git-send-email 2.10.1.382.ga23ca1b.dirty In-Reply-To: <20191002065815.30333-1-lq@chinaffmpeg.org> References: <20191002065815.30333-1-lq@chinaffmpeg.org> X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:chinaffmpeg.org:qybgforeign:qybgforeign4 X-QQ-Bgrelay: 1 Subject: [FFmpeg-devel] [PATCH v2 11/14] avfilter/vf_crop: add logging context to log X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Steven Liu MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Reviewed-by: Paul B Mahol Signed-off-by: Steven Liu --- 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; }