changeset 254:5de006f3d342 trunk

[svn] Initialize two variables before use and remove an unused one. Squashes 3 warnings.
author chainsaw
date Sun, 04 Dec 2005 06:48:27 -0800
parents b30d0e16b961
children ad1e65c6a854
files Plugins/Input/aac/libfaad2/ps_dec.c Plugins/Input/aac/libfaad2/sbr_hfadj.c Plugins/Input/aac/libfaad2/syntax.c
diffstat 3 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/aac/libfaad2/ps_dec.c	Sun Dec 04 06:26:12 2005 -0800
+++ b/Plugins/Input/aac/libfaad2/ps_dec.c	Sun Dec 04 06:48:27 2005 -0800
@@ -1027,7 +1027,7 @@
                            qmf_t X_hybrid_left[32][32], qmf_t X_hybrid_right[32][32])
 {
     uint8_t gr, n, m, bk;
-    uint8_t temp_delay;
+    uint8_t temp_delay = 0;
     uint8_t sb, maxsb;
     const complex_t *Phi_Fract_SubQmf;
     uint8_t temp_delay_ser[NO_ALLPASS_LINKS];
--- a/Plugins/Input/aac/libfaad2/sbr_hfadj.c	Sun Dec 04 06:26:12 2005 -0800
+++ b/Plugins/Input/aac/libfaad2/sbr_hfadj.c	Sun Dec 04 06:48:27 2005 -0800
@@ -1170,7 +1170,6 @@
             real_t den = 0;
             real_t acc1 = 0;
             real_t acc2 = 0;
-            uint8_t current_res_band_size = 0;
 
             uint8_t ml1, ml2;
 
--- a/Plugins/Input/aac/libfaad2/syntax.c	Sun Dec 04 06:26:12 2005 -0800
+++ b/Plugins/Input/aac/libfaad2/syntax.c	Sun Dec 04 06:48:27 2005 -0800
@@ -1810,7 +1810,7 @@
 /* Table 4.4.27 */
 static void tns_data(ic_stream *ics, tns_info *tns, bitfile *ld)
 {
-    uint8_t w, filt, i, start_coef_bits, coef_bits;
+    uint8_t w, filt, i, start_coef_bits = 0, coef_bits;
     uint8_t n_filt_bits = 2;
     uint8_t length_bits = 6;
     uint8_t order_bits = 5;