avfilter: fix indentation
authorPaul B Mahol <onemda@gmail.com>
Sun, 19 Nov 2017 20:18:00 +0000 (21:18 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 19 Nov 2017 20:18:00 +0000 (21:18 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_agate.c
libavfilter/af_sidechaincompress.c

index 20905cc..086a2f9 100644 (file)
@@ -323,14 +323,13 @@ static int activate(AVFilterContext *ctx)
     }
     FF_FILTER_FORWARD_STATUS(ctx->inputs[0], ctx->outputs[0]);
     FF_FILTER_FORWARD_STATUS(ctx->inputs[1], ctx->outputs[0]);
-    /* TODO reindent */
-        if (ff_outlink_frame_wanted(ctx->outputs[0])) {
-            if (!av_audio_fifo_size(s->fifo[0]))
-                ff_inlink_request_frame(ctx->inputs[0]);
-            if (!av_audio_fifo_size(s->fifo[1]))
-                ff_inlink_request_frame(ctx->inputs[1]);
-        }
-        return 0;
+    if (ff_outlink_frame_wanted(ctx->outputs[0])) {
+        if (!av_audio_fifo_size(s->fifo[0]))
+            ff_inlink_request_frame(ctx->inputs[0]);
+        if (!av_audio_fifo_size(s->fifo[1]))
+            ff_inlink_request_frame(ctx->inputs[1]);
+    }
+    return 0;
 }
 
 static int scquery_formats(AVFilterContext *ctx)
index 55bed43..3c6458c 100644 (file)
@@ -241,14 +241,13 @@ static int activate(AVFilterContext *ctx)
     }
     FF_FILTER_FORWARD_STATUS(ctx->inputs[0], ctx->outputs[0]);
     FF_FILTER_FORWARD_STATUS(ctx->inputs[1], ctx->outputs[0]);
-    /* TODO reindent */
-        if (ff_outlink_frame_wanted(ctx->outputs[0])) {
-            if (!av_audio_fifo_size(s->fifo[0]))
-                ff_inlink_request_frame(ctx->inputs[0]);
-            if (!av_audio_fifo_size(s->fifo[1]))
-                ff_inlink_request_frame(ctx->inputs[1]);
-        }
-        return 0;
+    if (ff_outlink_frame_wanted(ctx->outputs[0])) {
+        if (!av_audio_fifo_size(s->fifo[0]))
+            ff_inlink_request_frame(ctx->inputs[0]);
+        if (!av_audio_fifo_size(s->fifo[1]))
+            ff_inlink_request_frame(ctx->inputs[1]);
+    }
+    return 0;
 }
 
 static int query_formats(AVFilterContext *ctx)