small fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@776 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-03-07 05:44:38 +00:00
parent 8c79672f12
commit fc0fd39973
1 changed files with 5 additions and 4 deletions

View File

@ -383,12 +383,13 @@ update(
/* UPA1 */
/* update predictor pole a[0] */
state_ptr->a[0] -= state_ptr->a[0] >> 8;
if (dqsez != 0)
if (pks1 == 0)
if (dqsez != 0) {
if (pks1 == 0) {
state_ptr->a[0] += 192;
else
} else {
state_ptr->a[0] -= 192;
}
}
/* LIMD */
a1ul = 15360 - a2p;
if (state_ptr->a[0] < -a1ul)