From patchwork Wed Nov 20 12:10:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: leozhang X-Patchwork-Id: 16346 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 ED0034433E1 for ; Wed, 20 Nov 2019 14:11:18 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CA6BE68A753; Wed, 20 Nov 2019 14:11:18 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smg-sh-01.qiyi.com (unknown [101.227.12.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E3FF468A71A for ; Wed, 20 Nov 2019 14:11:11 +0200 (EET) X-AuditID: 65e30cac-0cbff7000000205d-4b-5dd52d558696 Received: from mail.iqiyi.com (Unknown_Domain [10.11.69.97]) by smg-sh-01.qiyi.com (Qiyi mail Gateway) with SMTP id 5F.CA.08285.55D25DD5; Wed, 20 Nov 2019 20:11:02 +0800 (HKT) From: leozhang To: Date: Wed, 20 Nov 2019 20:10:57 +0800 Message-ID: <1574251857-134919-1-git-send-email-leozhang@qiyi.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.13.40.216] X-ClientProxiedBy: BJ-CAS32.iqiyi.pps (10.11.50.121) To EXCH20.iqiyi.pps (10.16.148.50) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprILMWRmVeSWpSXmKPExsXCxe2aqBumezXW4MdEVotvn84wOzB6/Fm0 mSWAMYrbJimxpCw4Mz1P3y6BO+PdwQbWgn62it/r57I3MLaxdjFyckgImEicWDCbDcQWEtjI KNG3RxvEZhNQkli/YipYjYiArMTqf1PAaoQFjCU+7FgEZrMIqErcW7GOBcTmFXCS2DrjBxvE TAWJKQ/fM0PEBSVOznwCVsMsICFx8MULZohdchJPf/1igamffnIPUxcjB5AdKbHmd/kERt5Z SLpnIelewMi0ilGoODddtzhD18BQrzCzMlMvOT93EyMwNFIf86zZwfhsh/MhRgEORiUeXgeV K7FCrIllxZW5hxglOJiVRHg5W47ECvGmJFZWpRblxxeV5qQWH2KU5mBREudNFL4aKySQnliS mp2aWpBaBJNl4uAE6eaSEilOzUtJLUosLcmIB4VtfDEwcKUaGGdfv91qE8W6ts3m9WfuUx9/ rb6Yd7H05poobU2DlE9yV13UJ3U2s5X2HRRebK2tneO2xyLll5zJ/9U8E59UPk9Re8OzTuiv 5yuZmOL0Wwmex4pvn18xZYKez8HOXi/3tjs77oXx3bXn1rmsUCJSK+4YFJt7+d4tI5OubTXl S7pqp869kdJwVYmlOCPRUIu5qDgRAFbIbPckAgAA Subject: [FFmpeg-devel] [PATCH] avfilter/avfilter: fix indentation 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: leozhang --- libavfilter/avfilter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 09f33e0..1004a6e 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -801,9 +801,9 @@ void avfilter_free(AVFilterContext *filter) int ff_filter_get_nb_threads(AVFilterContext *ctx) { - if (ctx->nb_threads > 0) - return FFMIN(ctx->nb_threads, ctx->graph->nb_threads); - return ctx->graph->nb_threads; + if (ctx->nb_threads > 0) + return FFMIN(ctx->nb_threads, ctx->graph->nb_threads); + return ctx->graph->nb_threads; } static int process_options(AVFilterContext *ctx, AVDictionary **options,