summaryrefslogtreecommitdiff
path: root/audio/libvisual-plugins/patches/patch-ab
blob: af22a67e9ccd417b64ffad6bd4a5be234f31eda7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ab,v 1.1 2005/06/16 21:19:08 kristerw Exp $

--- plugins/actor/pseudotoad_flower/notch.c.orig	Thu Jun 16 22:50:58 2005
+++ plugins/actor/pseudotoad_flower/notch.c	Thu Jun 16 22:52:05 2005
@@ -25,12 +25,13 @@
 #include <stdio.h>
 #include <math.h>
 #include <string.h>
+#include <stdlib.h>
 
 #include "notch.h"
 
 NOTCH_FILTER *  init_notch(float cutoff) {
     NOTCH_FILTER * l=malloc(sizeof(NOTCH_FILTER));
-    float steep = 0.99;;
+    float steep = 0.99;
     float r = steep * 0.99609375;
     float f = cos(M_PI * cutoff / SAMPLING_RATE);
     l->cutoff = cutoff;