mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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@gmail.com>
This commit is contained in:
parent
9c820ebe90
commit
6aae322120
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user