diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-12-13 04:06:45 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-12-13 04:06:45 +0000 |
commit | 5783bef32c792e192ddf0c160cd793971612d0cc (patch) | |
tree | 523c9432e3a0e8f76967be918a7665619c7281f0 /apps | |
parent | af5bad46d883731728b9e4c797cae015e17f11f3 (diff) | |
download | rockbox-5783bef32c792e192ddf0c160cd793971612d0cc.tar.gz rockbox-5783bef32c792e192ddf0c160cd793971612d0cc.zip |
Fix red, DESCALE_SHIFT macro was missing a right-parenthesis.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23968 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/libfaad/fixed.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/fixed.h b/apps/codecs/libfaad/fixed.h index 9781a846f7..6cda967399 100644 --- a/apps/codecs/libfaad/fixed.h +++ b/apps/codecs/libfaad/fixed.h | |||
@@ -130,7 +130,7 @@ static INLINE void ComplexMult(real_t *y1, real_t *y2, | |||
130 | #define MUL_SHIFT6(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (6-1))) >> 6) | 130 | #define MUL_SHIFT6(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (6-1))) >> 6) |
131 | #define MUL_SHIFT23(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (23-1))) >> 23) | 131 | #define MUL_SHIFT23(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (23-1))) >> 23) |
132 | #define DESCALE(A,S) ((S)>0?(((A)>>((S)-1))+1)>>1:(A)<<-(S)) | 132 | #define DESCALE(A,S) ((S)>0?(((A)>>((S)-1))+1)>>1:(A)<<-(S)) |
133 | #define DESCALE_SHIFT(A,SH,SC) DESCALE((A),(SC)-(SH) | 133 | #define DESCALE_SHIFT(A,SH,SC) DESCALE((A),(SC)-(SH)) |
134 | 134 | ||
135 | #elif defined(__GNUC__) && defined (__arm__) | 135 | #elif defined(__GNUC__) && defined (__arm__) |
136 | 136 | ||
@@ -241,7 +241,7 @@ static inline real_t DESCALE_SHIFT(unsigned val, int shift, int scale) | |||
241 | #define MUL_SHIFT6(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (6-1))) >> 6) | 241 | #define MUL_SHIFT6(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (6-1))) >> 6) |
242 | #define MUL_SHIFT23(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (23-1))) >> 23) | 242 | #define MUL_SHIFT23(A,B) (real_t)(((int64_t)(A)*(int64_t)(B)+(1 << (23-1))) >> 23) |
243 | #define DESCALE(A,S) ((S)>0?(((A)>>((S)-1))+1)>>1:(A)<<-(S)) | 243 | #define DESCALE(A,S) ((S)>0?(((A)>>((S)-1))+1)>>1:(A)<<-(S)) |
244 | #define DESCALE_SHIFT(A,SH,SC) DESCALE((A),(SC)-(SH) | 244 | #define DESCALE_SHIFT(A,SH,SC) DESCALE((A),(SC)-(SH)) |
245 | 245 | ||
246 | /* Complex multiplication */ | 246 | /* Complex multiplication */ |
247 | static INLINE void ComplexMult(real_t *y1, real_t *y2, | 247 | static INLINE void ComplexMult(real_t *y1, real_t *y2, |