Mercurial > mplayer.hg
changeset 17098:0b6c9d7387b4
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]')
author | rathann |
---|---|
date | Mon, 05 Dec 2005 01:31:53 +0000 |
parents | 3473cbf126d7 |
children | c6dca3153ddb |
files | libfaad2/ps_dec.c libfaad2/sbr_dec.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libfaad2/ps_dec.c Mon Dec 05 01:31:03 2005 +0000 +++ b/libfaad2/ps_dec.c Mon Dec 05 01:31:53 2005 +0000 @@ -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/libfaad2/sbr_dec.c Mon Dec 05 01:31:03 2005 +0000 +++ b/libfaad2/sbr_dec.c Mon Dec 05 01:31:53 2005 +0000 @@ -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;