[FFmpeg-cvslog] avfilter/af_arnndn: Remove superfluous qualifier
Andreas Rheinhardt
git at videolan.org
Thu Oct 17 13:31:05 EEST 2019
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Oct 17 11:24:55 2019 +0200| [6aae32212041df0f7e75616d57848d35fd8d3c18] | committer: Paul B Mahol
avfilter/af_arnndn: Remove superfluous qualifier
remove_doubling() returned a const float, but returning qualified types
is pointless anyway. This is all the more important given that GCC 4.2.1
(and maybe other compilers, too) seems to treat this as an error as several
FATE units that don't compile any more show.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6aae32212041df0f7e75616d57848d35fd8d3c18
---
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 7688b31b0c..7a26f89709 100644
--- a/libavfilter/af_arnndn.c
+++ b/libavfilter/af_arnndn.c
@@ -782,8 +782,8 @@ static float compute_pitch_gain(float xy, float xx, float yy)
}
static const int second_check[16] = {0, 0, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2};
-static const float remove_doubling(float *x, int maxperiod, int minperiod,
- int N, int *T0_, int prev_period, float prev_gain)
+static float remove_doubling(float *x, int maxperiod, int minperiod, int N,
+ int *T0_, int prev_period, float prev_gain)
{
int k, i, T, T0;
float g, g0;
More information about the ffmpeg-cvslog
mailing list