Commit 414fb4a1 authored by jbr's avatar jbr

Fix 2 bit allocation bugs. One fix enables using a higher bandwidth code. ...

Fix 2 bit allocation bugs.  One fix enables using a higher bandwidth code.  The other fixes an issue with floorcod=7.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6156 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c79dd260
......@@ -804,7 +804,7 @@ void ac3_common_init(void)
for(j=0;j<v;j++) masktab[k++]=i;
l += v;
}
bndtab[50] = 0;
bndtab[50] = l;
}
......
......@@ -160,7 +160,7 @@ static const uint16_t dbkneetab[4]= {
0x000, 0x700, 0x900, 0xb00,
};
static const uint16_t floortab[8]= {
static const int16_t floortab[8]= {
0x2f0, 0x2b0, 0x270, 0x230, 0x1f0, 0x170, 0x0f0, 0xf800,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment