[FFmpeg-cvslog] avfilter/af_arnndn: initialize ret to silence compiler warning
Paul B Mahol
git at videolan.org
Sat Sep 11 23:21:07 EEST 2021
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 11 22:02:42 2021 +0200| [d460a5f8ba913571637e3d8bf5c1c53d39ae696f] | committer: Paul B Mahol
avfilter/af_arnndn: initialize ret to silence compiler warning
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d460a5f8ba913571637e3d8bf5c1c53d39ae696f
---
libavfilter/af_arnndn.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_arnndn.c b/libavfilter/af_arnndn.c
index 1d48188e84..8225b1657e 100644
--- a/libavfilter/af_arnndn.c
+++ b/libavfilter/af_arnndn.c
@@ -351,7 +351,7 @@ static int config_input(AVFilterLink *inlink)
{
AVFilterContext *ctx = inlink->dst;
AudioRNNContext *s = ctx->priv;
- int ret;
+ int ret = 0;
s->channels = inlink->channels;
@@ -387,7 +387,7 @@ static int config_input(AVFilterLink *inlink)
return ret;
}
- return 0;
+ return ret;
}
static void biquad(float *y, float mem[2], const float *x,
More information about the ffmpeg-cvslog
mailing list