[FFmpeg-devel] [PATCH 3/4] avfilter/af_aiir: Remove dead code
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Fri May 24 11:05:19 EEST 2024
Fixes Coverity issue #1468252.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavfilter/af_aiir.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c
index b5e5b41db6..324fc367a3 100644
--- a/libavfilter/af_aiir.c
+++ b/libavfilter/af_aiir.c
@@ -820,7 +820,6 @@ static void solve(double *matrix, double *vector, int n, double *y, double *x, d
static int convert_serial2parallel(AVFilterContext *ctx, int channels)
{
AudioIIRContext *s = ctx->priv;
- int ret = 0;
for (int ch = 0; ch < channels; ch++) {
IIRChannel *iir = &s->iir[ch];
@@ -879,9 +878,6 @@ static int convert_serial2parallel(AVFilterContext *ctx, int channels)
av_free(resp);
av_free(M);
av_free(W);
-
- if (ret < 0)
- return ret;
}
return 0;
--
2.40.1
More information about the ffmpeg-devel
mailing list