From f7b2e840a7c8bc80b9f9cc99fb48b43c99123a7a Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 12 Nov 2005 15:06:46 +0000 Subject: [PATCH] "signed char" police git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7823 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/structs.h | 2 +- apps/codecs/libwavpack/pack.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/codecs/libfaad/structs.h b/apps/codecs/libfaad/structs.h index 0703a77f91..9fa2029e1d 100644 --- a/apps/codecs/libfaad/structs.h +++ b/apps/codecs/libfaad/structs.h @@ -325,7 +325,7 @@ typedef struct mp4AudioSpecificConfig /*uint8_t*/ unsigned char aacSpectralDataResilienceFlag; /*uint8_t*/ unsigned char epConfig; - /*uint8_t*/ char sbr_present_flag; + /*uint8_t*/ signed char sbr_present_flag; /*uint8_t*/ char forceUpSampling; /*uint8_t*/ char downSampledSBR; } mp4AudioSpecificConfig; diff --git a/apps/codecs/libwavpack/pack.c b/apps/codecs/libwavpack/pack.c index ef5feca367..da4d3f328f 100644 --- a/apps/codecs/libwavpack/pack.c +++ b/apps/codecs/libwavpack/pack.c @@ -27,9 +27,9 @@ // 17 & 18 are special functions using the previous 2 samples, and negative // values indicate cross channel decorrelation (in stereo only). -static const char default_terms [] = { 18,18,2,3,-2,0 }; -static const char high_terms [] = { 18,18,2,3,-2,18,2,4,7,5,3,6,0 }; -static const char fast_terms [] = { 17,17,0 }; +static const signed char default_terms [] = { 18,18,2,3,-2,0 }; +static const signed char high_terms [] = { 18,18,2,3,-2,18,2,4,7,5,3,6,0 }; +static const signed char fast_terms [] = { 17,17,0 }; ///////////////////////////// executable code //////////////////////////////// @@ -41,7 +41,7 @@ void pack_init (WavpackContext *wpc) WavpackStream *wps = &wpc->stream; ulong flags = wps->wphdr.flags; struct decorr_pass *dpp; - const char *term_string; + const signed char *term_string; int ti; wps->sample_index = 0;