[MPlayer-cvslog] CVS: main/libfaad2 ps_dec.c, 1.2, 1.3 sbr_dec.c, 1.6, 1.7

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Mon Dec 5 02:31:55 CET 2005


CVS change done by Dominik Mierzejewski CVS

Update of /cvsroot/mplayer/main/libfaad2
In directory mail:/var2/tmp/cvs-serv30440/libfaad2

Modified Files:
	ps_dec.c sbr_dec.c 
Log Message:
fix
ps_dec.c:1938: warning: missing braces around initializer
ps_dec.c:1938: warning: (near initialization for 'X_hybrid_left[0][0]')
ps_dec.c:1939: warning: missing braces around initializer
ps_dec.c:1939: warning: (near initialization for 'X_hybrid_right[0][0]')
sbr_dec.c:530: warning: missing braces around initializer
sbr_dec.c:530: warning: (near initialization for 'X_left[0][0]')
sbr_dec.c:531: warning: missing braces around initializer
sbr_dec.c:531: warning: (near initialization for 'X_right[0][0]')


Index: ps_dec.c
===================================================================
RCS file: /cvsroot/mplayer/main/libfaad2/ps_dec.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ps_dec.c	19 Feb 2005 01:04:20 -0000	1.2
+++ ps_dec.c	5 Dec 2005 01:31:53 -0000	1.3
@@ -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);

Index: sbr_dec.c
===================================================================
RCS file: /cvsroot/mplayer/main/libfaad2/sbr_dec.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sbr_dec.c	19 Feb 2005 01:04:20 -0000	1.6
+++ sbr_dec.c	5 Dec 2005 01:31:53 -0000	1.7
@@ -527,8 +527,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;




More information about the MPlayer-cvslog mailing list