Skip to content
Snippets Groups Projects
Commit c2095a29 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Max delta: +/- 16384

parent d9127edb
No related branches found
No related tags found
No related merge requests found
......@@ -723,12 +723,12 @@ static void quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_
{
imid = 32767;
iside = 0;
delta = -10000;
delta = -16384;
} else if (itheta == 16384)
{
imid = 0;
iside = 32767;
delta = 10000;
delta = 16384;
} else {
imid = bitexact_cos(itheta);
iside = bitexact_cos(16384-itheta);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment