Fixed stereo regression introduced in 05686a5d6e

also another stereo bug fixed for static-array ncwrs64().
This commit is contained in:
Jean-Marc Valin 2008-02-13 00:08:29 +11:00
parent ac1e03d78e
commit cc4d3dda74
2 changed files with 6 additions and 4 deletions

View file

@ -65,7 +65,7 @@ celt_uint32_t ncwrs(int _n,int _m){
#if 0
celt_uint64_t ncwrs64(int _n,int _m){
static celt_uint64_t c[100][100];
static celt_uint64_t c[101][101];
if(_n<0||_m<0)return 0;
if(!c[_n][_m]){
if(_m<=0)c[_n][_m]=1;