diff --git a/externals/ext13/scramble~.c b/externals/ext13/scramble~.c index ec1f1e240763a7e678e9a3ac020e42abe80e12c3..e7b3d9d3a283c384c4f4c744c057e75f4a275160 100644 --- a/externals/ext13/scramble~.c +++ b/externals/ext13/scramble~.c @@ -4,13 +4,12 @@ #include <string.h> #include <math.h> #ifndef _WIN32 -#include <netinet/in.h> -#include <netdb.h> -#include <sys/errno.h> +#include <netinet/in.h> +#include <netdb.h> +#include <sys/errno.h> #include <sys/socket.h> -#else -#include <stdlib.h> #endif +#include <stdlib.h> /* ------------------------ scramble_tilde~ ----------------------------- */ @@ -115,10 +114,10 @@ t_int *scramble_tilde_perform(t_int *w) #ifndef _WIN32 t_float* out[x->x_channels]; t_float* in[x->x_channels]; -#else - t_float** out = (t_float**)malloc(x->x_channels*sizeof(t_float*)); - t_float** in = (t_float**)malloc(x->x_channels*sizeof(t_float*)); -#endif +#else + t_float** out = (t_float**)malloc(x->x_channels*sizeof(t_float*)); + t_float** in = (t_float**)malloc(x->x_channels*sizeof(t_float*)); +#endif float n_factor, frac, a, b, c, d, cminusb; int index; @@ -448,10 +447,10 @@ t_int *scramble_tilde_perform(t_int *w) if (x->x_channels == 2) *out[1]++ = 0; }/*end if play */ - }/*end while n-- */ -#ifdef _WIN32 - free(in); - free(out); + }/*end while n-- */ +#ifdef _WIN32 + free(in); + free(out); #endif return (w + x->x_channels * 2 + 3); }