split afs.h
[paraslash.git] / wav.c
diff --git a/wav.c b/wav.c
index 879b188..e229317 100644 (file)
--- a/wav.c
+++ b/wav.c
@@ -71,7 +71,7 @@ static ssize_t wav_convert(char *inbuf, size_t len, struct filter_node *fn)
                *bof = 0;
 //             return 0;
        }
-       copy = MIN(len, fn->bufsize - fn->loaded);
+       copy = PARA_MIN(len, fn->bufsize - fn->loaded);
        memmove(fn->buf + fn->loaded, inbuf, copy);
        fn->loaded += copy;
 //     PARA_DEBUG_LOG("len = %d, copy = %d\n", len, copy);