[FFmpeg-cvslog] avfilter/af_aiir: Remove dead code
Andreas Rheinhardt
git at videolan.org
Fri May 31 15:29:58 EEST 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri May 24 09:37:41 2024 +0200| [37cc648fbd9e6d3dc61e8ac487774d330131c70f] | committer: Andreas Rheinhardt
avfilter/af_aiir: Remove dead code
Fixes Coverity issue #1468252.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=37cc648fbd9e6d3dc61e8ac487774d330131c70f
---
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;
More information about the ffmpeg-cvslog
mailing list