diff mbox

[FFmpeg-devel] avfilter/avfilter: fix indentation

Message ID 1574251857-134919-1-git-send-email-leozhang@qiyi.com
State Accepted
Commit 4a3aa77d7437d17ecf888ba3d5f4a199a9d1d555
Headers show

Commit Message

leozhang Nov. 20, 2019, 12:10 p.m. UTC
Signed-off-by: leozhang <leozhang@qiyi.com>
---
 libavfilter/avfilter.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Michael Niedermayer Nov. 21, 2019, 8:33 p.m. UTC | #1
On Wed, Nov 20, 2019 at 08:10:57PM +0800, leozhang wrote:
> Signed-off-by: leozhang <leozhang@qiyi.com>
> ---
>  libavfilter/avfilter.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

will apply

thx

[...]
diff mbox

Patch

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,