forked from Mirrors/freeswitch
Eliminate a warnign in G.722.1
This commit is contained in:
parent
81e805165a
commit
7c99132c8a
@ -263,7 +263,6 @@ static void decode_vector_quantized_mlt_indices(g722_1_decode_state_t *s,
|
|||||||
int signs_index;
|
int signs_index;
|
||||||
int bit;
|
int bit;
|
||||||
int num_sign_bits;
|
int num_sign_bits;
|
||||||
int num_bits;
|
|
||||||
int ran_out_of_bits_flag;
|
int ran_out_of_bits_flag;
|
||||||
int random_word;
|
int random_word;
|
||||||
const int16_t *decoder_table_ptr;
|
const int16_t *decoder_table_ptr;
|
||||||
@ -282,7 +281,6 @@ static void decode_vector_quantized_mlt_indices(g722_1_decode_state_t *s,
|
|||||||
|
|
||||||
for (n = 0; n < num_vecs; n++)
|
for (n = 0; n < num_vecs; n++)
|
||||||
{
|
{
|
||||||
num_bits = 0;
|
|
||||||
index = 0;
|
index = 0;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
@ -450,7 +448,7 @@ static void decode_vector_quantized_mlt_indices(g722_1_decode_state_t *s,
|
|||||||
|
|
||||||
if (category == NUM_CATEGORIES - 1)
|
if (category == NUM_CATEGORIES - 1)
|
||||||
{
|
{
|
||||||
noifillpos = standard_deviation*0.70711;
|
noifillpos = standard_deviation*0.70711f;
|
||||||
noifillneg = -noifillpos;
|
noifillneg = -noifillpos;
|
||||||
|
|
||||||
/* This assumes region_size = 20 */
|
/* This assumes region_size = 20 */
|
||||||
|
Loading…
Reference in New Issue
Block a user