mirror of https://github.com/mpv-player/mpv
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]') git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17099 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
637ef4ab74
commit
855416cba2
|
@ -1935,8 +1935,8 @@ ps_info *ps_init(uint8_t sr_index)
|
|||
/* 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);
|
||||
|
|
|
@ -527,8 +527,8 @@ uint8_t sbrDecodeSingleFramePS(sbr_info *sbr, real_t *left_channel, real_t *righ
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue