aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-11-19 21:18:00 +0100
committerPaul B Mahol <onemda@gmail.com>2017-11-19 21:18:00 +0100
commit460df96904b714efed17820649bb53e1f941be1a (patch)
treeea91471753160de92c023780a672987324108c9b /libavfilter
parente75fe0ef213074381c09e074f1f9619012f1ffad (diff)
downloadffmpeg-460df96904b714efed17820649bb53e1f941be1a.tar.gz
avfilter: fix indentation
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_agate.c15
-rw-r--r--libavfilter/af_sidechaincompress.c15
2 files changed, 14 insertions, 16 deletions
diff --git a/libavfilter/af_agate.c b/libavfilter/af_agate.c
index 20905ccb19..086a2f9cb9 100644
--- a/libavfilter/af_agate.c
+++ b/libavfilter/af_agate.c
@@ -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)
diff --git a/libavfilter/af_sidechaincompress.c b/libavfilter/af_sidechaincompress.c
index 55bed43844..3c6458cd63 100644
--- a/libavfilter/af_sidechaincompress.c
+++ b/libavfilter/af_sidechaincompress.c
@@ -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)