From 6050ee100f593585850bf1ead5b02cc1f565b155 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 6 May 2009 14:34:13 +0000 Subject: More ticket #774: fixed G.722.1 compilation warnings on linux/gcc-4.3.2 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2675 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/g7221/common/common.c | 2 +- third_party/g7221/decode/decoder.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'third_party/g7221') diff --git a/third_party/g7221/common/common.c b/third_party/g7221/common/common.c index 94bcf79c..d5eed810 100644 --- a/third_party/g7221/common/common.c +++ b/third_party/g7221/common/common.c @@ -169,7 +169,7 @@ void comp_powercat_and_catbalance(Word16 *power_categories, Word16 min_rate_categories[MAX_NUMBER_OF_REGIONS]; Word16 temp_category_balances[2*MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES]; Word16 raw_max, raw_min; - Word16 raw_max_index, raw_min_index; + Word16 raw_max_index=0, raw_min_index=0; Word16 max_rate_pointer, min_rate_pointer; Word16 max, min; Word16 itemp0; diff --git a/third_party/g7221/decode/decoder.c b/third_party/g7221/decode/decoder.c index 43aabc54..ab81a300 100644 --- a/third_party/g7221/decode/decoder.c +++ b/third_party/g7221/decode/decoder.c @@ -472,8 +472,8 @@ void decode_vector_quantized_mlt_indices(Bit_Obj *bitobj, Word16 vec_dim; Word16 num_vecs; Word16 index; - Word16 bit; - Word16 signs_index; + Word16 bit=0; + Word16 signs_index=0; Word16 num_sign_bits; Word16 ran_out_of_bits_flag; Word16 *decoder_table_ptr; -- cgit v1.2.3