Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -428,7 +428,7 @@ static void butter_filter_stereo_samples(ReplayGainContext *s, · 427 unmodified lines | |||
| 428 | // (slowing us down). | 428 | // (slowing us down). |
| 429 | 429 | ||
| 430 | for (j = -4; j < 0; ++j) | 430 | for (j = -4; j < 0; ++j) |
| 431 | if (fabs(hist_a[i + j]) > 1e-10 || fabs(hist_b[i + j]) > 1e-10) | 431 | if (fabsf(hist_a[i + j]) > 1e-10f || fabsf(hist_b[i + j]) > 1e-10f) |
| 432 | break; | 432 | break; |
| 433 | 433 | ||
| 434 | if (!j) { | 434 | if (!j) { |
| @@ -477,7 +477,7 @@ static void yule_filter_stereo_samples(ReplayGainContext *s, const float *src, · 42 unmodified lines | |||
| 477 | // (slowing us down). | 477 | // (slowing us down). |
| 478 | 478 | ||
| 479 | for (j = -20; j < 0; ++j) | 479 | for (j = -20; j < 0; ++j) |
| 480 | if (fabs(hist_a[i + j]) > 1e-10 || fabs(hist_b[i + j]) > 1e-10) | 480 | if (fabsf(hist_a[i + j]) > 1e-10f || fabsf(hist_b[i + j]) > 1e-10f) |
| 481 | break; | 481 | break; |
| 482 | 482 | ||
| 483 | if (!j) { | 483 | if (!j) { |