changeset 208:82872e29d7cb trunk

[svn] Increase GCC happiness about libfaad code.
author chainsaw
date Sat, 19 Nov 2005 04:36:29 -0800
parents e152a92d3f45
children bd8457b077cf
files Plugins/Input/aac/libfaad2/ps_dec.c Plugins/Input/aac/libfaad2/sbr_dec.c Plugins/Input/aac/libfaad2/specrec.c
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/aac/libfaad2/ps_dec.c	Fri Nov 18 09:18:34 2005 -0800
+++ b/Plugins/Input/aac/libfaad2/ps_dec.c	Sat Nov 19 04:36:29 2005 -0800
@@ -1935,8 +1935,8 @@
 /* main Parametric Stereo decoding function */
 uint8_t ps_decode(ps_info *ps, qmf_t X_left[38][64], qmf_t X_right[38][64])
 {
-    qmf_t X_hybrid_left[32][32] = {{0}};
-    qmf_t X_hybrid_right[32][32] = {{0}};
+    qmf_t X_hybrid_left[32][32] = {{{0}}};
+    qmf_t X_hybrid_right[32][32] = {{{0}}};
 
     /* delta decoding of the bitstream data */
     ps_data_decode(ps);
--- a/Plugins/Input/aac/libfaad2/sbr_dec.c	Fri Nov 18 09:18:34 2005 -0800
+++ b/Plugins/Input/aac/libfaad2/sbr_dec.c	Sat Nov 19 04:36:29 2005 -0800
@@ -526,8 +526,8 @@
     uint8_t l, k;
     uint8_t dont_process = 0;
     uint8_t ret = 0;
-    ALIGN qmf_t X_left[38][64] = {{0}};
-    ALIGN qmf_t X_right[38][64] = {{0}}; /* must set this to 0 */
+    ALIGN qmf_t X_left[38][64] = {{{0}}};
+    ALIGN qmf_t X_right[38][64] = {{{0}}}; /* must set this to 0 */
 
     if (sbr == NULL)
         return 20;
--- a/Plugins/Input/aac/libfaad2/specrec.c	Fri Nov 18 09:18:34 2005 -0800
+++ b/Plugins/Input/aac/libfaad2/specrec.c	Sat Nov 19 04:36:29 2005 -0800
@@ -410,8 +410,8 @@
 }
 
 /* iquant() *
-/* output = sign(input)*abs(input)^(4/3) */
-/**/
+ * output = sign(input)*abs(input)^(4/3)
+ */
 static INLINE real_t iquant(int16_t q, const real_t *tab, uint8_t *error)
 {
 #ifdef FIXED_POINT