From: Brian West Date: Tue, 7 Mar 2006 05:44:38 +0000 (+0000) Subject: small fix X-Git-Tag: v1.0-beta1~3101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0fd399736d3c7ffdf388314383f2adcf421e02;p=thirdparty%2Ffreeswitch.git small fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@776 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/codec/g726/src/g72x.c b/libs/codec/g726/src/g72x.c index 2e1c98b1dc..e13b872b30 100644 --- a/libs/codec/g726/src/g72x.c +++ b/libs/codec/g726/src/g72x.c @@ -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)