filter-graph: fix compilation

This commit is contained in:
Wim Taymans 2024-12-04 16:38:16 +01:00
parent 6e2f631230
commit dc76254d03

View file

@ -2092,16 +2092,16 @@ static void max_run(void * Instance, unsigned long SampleCount)
return;
if (in1 != NULL && in2 != NULL) {
for (n = 0; n < SampleCount; n++) {
for (n = 0; n < SampleCount; n++)
out[n] = fmaxf(in1[n], in2[n]);
} else if (in1 != NULL) {
for (n = 0; n < SampleCount; n++) {
for (n = 0; n < SampleCount; n++)
out[n] = in1[n];
} else if (in2 != NULL) {
for (n = 0; n < SampleCount; n++) {
for (n = 0; n < SampleCount; n++)
out[n] = in2[n];
} else {
for (n = 0; n < SampleCount; n++) {
for (n = 0; n < SampleCount; n++)
out[n] = 0.0f;
}
}