[FFmpeg-cvslog] avfilter/af_afir: remove redundant code
Paul B Mahol
git at videolan.org
Thu Nov 8 14:07:36 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Nov 8 11:14:04 2018 +0100| [fcbde5e6a4a5a4dd32c77304a8c13ed14cbfe1bf] | committer: Paul B Mahol
avfilter/af_afir: remove redundant code
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fcbde5e6a4a5a4dd32c77304a8c13ed14cbfe1bf
---
libavfilter/af_afir.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c
index 346104a56e..7fa0b1343b 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -503,11 +503,8 @@ static int activate(AVFilterContext *ctx)
ret = ff_inlink_consume_samples(ctx->inputs[0], s->part_size, s->part_size, &in);
}
- if (ret > 0) {
+ if (ret > 0)
ret = fir_frame(s, in, outlink);
- if (ret < 0)
- return ret;
- }
if (ret < 0)
return ret;
More information about the ffmpeg-cvslog
mailing list