fix minor compilation error/warning

This commit is contained in:
Jean-Marc Valin 2008-04-12 06:55:39 +10:00
parent 9656ca0090
commit 3956de98eb
2 changed files with 2 additions and 2 deletions

View file

@ -436,4 +436,4 @@ void stereo_mix(const CELTMode *m, celt_norm_t *X, const celt_ener_t *bank, int
for (i=C*eBands[m->nbEBands];i<C*eBands[m->nbEBands+1];i++)
X[i] = 0;
}
#endif
#endif

View file

@ -271,7 +271,7 @@ void intra_prediction(celt_norm_t *x, celt_mask_t *W, int N, int K, celt_norm_t
celt_word32_t E;
celt_word16_t pred_gain;
int max_pos = N0-N;
VARDECL(spx_norm_t, Xr);
VARDECL(celt_norm_t, Xr);
SAVE_STACK;
ALLOC(Xr, B*N, celt_norm_t);