From patchwork Sun Oct 27 16:02:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Zhili X-Patchwork-Id: 15989 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 5733E449ADF for ; Sun, 27 Oct 2019 18:03:24 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 16CAE68ACDF; Sun, 27 Oct 2019 18:03:24 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from qq.com (smtpbg446.qq.com [183.3.255.74]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5A2A668A501 for ; Sun, 27 Oct 2019 18:03:16 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1572192160; bh=1WfuONgLcdQm240lHWzX+IxMC+naYn+Or+ggXQ18uyg=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=bPwI7v14srDIPn2ANE1z24sNkYXSI5gJQhuNsxudFUkEAWZRhZ7wlI/wkjqpUdz/k zoCFICa06l2q0IujxP11i6DftLLJzGvQqN0XiDW+44o/WHyN6wgxYGSAVKrBRnuNrW rROOnY/GBOmRnhEv665JG5e3W9W8Emh60Fxdec0Y= X-QQ-mid: esmtp6t1572192158tgfej7wa3 Received: from localhost.localdomain (unknown [163.125.126.60]) by esmtp4.qq.com (ESMTP) with id ; Mon, 28 Oct 2019 00:02:38 +0800 (CST) X-QQ-SSF: A1000000000000N0UF2000000000002 X-QQ-FEAT: RhQQPmkkDMxsFH+vYsRqrdC0V3x4SYC8xNRFWULwX8p5Ghb6iZdquOhp/63PO 0RWO3ouObMsga8hTeFqxG3jDbR9jz7ChMpmzYPT6WYHaux/S0DDfgmDRhEtlNhVTpd5kQAA 22BSAah/e69g7DuJcC63MoC2ZW01yO7vibUkeUndejwzU0Mv8TznSa+7YL2R+6+MBLhwaWH ylLEJ+PUOaADS+njXD9hg4yplzvxxxPDz/0lfXEQ24DaWmOIXTwgCDjP+ZWKM3LqUVyHzUm T6z+rphxmJSlP3GUHLmDGpwnNtDBQjrYbKeA== X-QQ-GoodBg: 0 From: Zhao Zhili To: ffmpeg-devel@ffmpeg.org Date: Mon, 28 Oct 2019 00:02:36 +0800 Message-Id: <20191027160236.59127-1-quinkblack@foxmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: esmtp:foxmail.com:bgforeign:bgforeign4 X-QQ-Bgrelay: 1 Subject: [FFmpeg-devel] [PATCH] avfilter: remove useless cast 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: Zhao Zhili Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- libavfilter/allfilters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c index d136734338..6156066028 100644 --- a/libavfilter/allfilters.c +++ b/libavfilter/allfilters.c @@ -503,7 +503,7 @@ const AVFilter *avfilter_get_by_name(const char *name) while ((f = av_filter_iterate(&opaque))) if (!strcmp(f->name, name)) - return (AVFilter *)f; + return f; return NULL; }