diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-11-08 11:14:04 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-11-08 11:14:04 +0100 |
commit | fcbde5e6a4a5a4dd32c77304a8c13ed14cbfe1bf (patch) | |
tree | 660e9ecf52b4072b20b15ea4fed48a7a503a83fb | |
parent | 0c6d4e7ba4d73f4cbed3bc494268482ae6e5c586 (diff) | |
download | ffmpeg-fcbde5e6a4a5a4dd32c77304a8c13ed14cbfe1bf.tar.gz |
avfilter/af_afir: remove redundant code
-rw-r--r-- | libavfilter/af_afir.c | 5 |
1 files changed, 1 insertions, 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; |