summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorehriche <eehrich@googlemail.com>2015-05-06 00:43:24 +0200
committerehriche <eehrich@googlemail.com>2015-05-06 00:43:24 +0200
commitedce27fc0328531461f68dd974a72c759e4bcc85 (patch)
tree08c2d2b71d292671ec021416a69c62817cdfb592
parent670d77813f8ded38685eee98f83dc796227a59b7 (diff)
minor fixes in drivers mpc and vorbis.
-rw-r--r--drivers/mpc/mpc_reader.c1
-rw-r--r--drivers/vorbis/psy.c2
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);