diff options
author | ehriche <eehrich@googlemail.com> | 2015-05-06 00:43:24 +0200 |
---|---|---|
committer | ehriche <eehrich@googlemail.com> | 2015-05-06 00:43:24 +0200 |
commit | edce27fc0328531461f68dd974a72c759e4bcc85 (patch) | |
tree | 08c2d2b71d292671ec021416a69c62817cdfb592 | |
parent | 670d77813f8ded38685eee98f83dc796227a59b7 (diff) |
minor fixes in drivers mpc and vorbis.
-rw-r--r-- | drivers/mpc/mpc_reader.c | 1 | ||||
-rw-r--r-- | drivers/vorbis/psy.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mpc/mpc_reader.c b/drivers/mpc/mpc_reader.c index e1d151fe50..550c5ecb54 100644 --- a/drivers/mpc/mpc_reader.c +++ b/drivers/mpc/mpc_reader.c @@ -36,6 +36,7 @@ #include <mpc/reader.h> #include "internal.h" #include <stdio.h> +#include <string.h> // memset() #define STDIO_MAGIC 0xF34B963C ///< Just a random safe-check value... typedef struct mpc_reader_stdio_t { diff --git a/drivers/vorbis/psy.c b/drivers/vorbis/psy.c index 9a86151cec..29d2824372 100644 --- a/drivers/vorbis/psy.c +++ b/drivers/vorbis/psy.c @@ -1160,7 +1160,7 @@ void _vp_couple_quantize_normalize(int blobno, However, this is a temporary patch. by Aoyumi @ 2004/04/18 */ - /*float derate = (1.0 - de*((float)(j-limit+i) / (float)(n-limit))); + /*float derate = (1.0 - de*((float)(j-limit+i) / (float)(n-limit))); */ /* elliptical if(reM[j]+reA[j]<0){ reM[j] = - (qeM[j] = (fabs(reM[j])+fabs(reA[j]))*derate*derate); |