pulseaudio/pulseaudio-wrong-memset.patch

12 lines
409 B
Diff
Raw Normal View History

--- src/modules/echo-cancel/adrian-aec.c.orig 2012-05-20 09:24:20.836607707 +0200
+++ src/modules/echo-cancel/adrian-aec.c 2012-05-20 09:26:07.641603903 +0200
@@ -167,7 +167,7 @@
} else if (1 == a->hangover) {
--(a->hangover);
// My Leaky NLMS is to erase vector w when hangover expires
- memset(a->w_arr, 0, sizeof(a->w_arr));
+ memset(a->w_arr, 0, sizeof(REAL));
}
}
}