Merge branch 'brr'
This commit is contained in:
commit
b94493dcc0
2 changed files with 3 additions and 1 deletions
|
|
@ -126,6 +126,8 @@ void brrEncodeBlock(const short* buf, unsigned char* out, unsigned char range, u
|
|||
break;
|
||||
}
|
||||
|
||||
if (nextDec>32767) nextDec=32767;
|
||||
if (nextDec<-32768) nextDec=-32768;
|
||||
nextDec&=0x7fff;
|
||||
if (nextDec&0x4000) nextDec|=0xffff8000;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue