summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-05-06 14:34:13 +0000
committerBenny Prijono <bennylp@teluu.com>2009-05-06 14:34:13 +0000
commit6050ee100f593585850bf1ead5b02cc1f565b155 (patch)
treebf519f29b04d3f938565bf49cb0f3bf20d060c62 /third_party
parentb409e7527b5e16cadbc976a1066b9c69300ffc9b (diff)
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
Diffstat (limited to 'third_party')
-rw-r--r--third_party/g7221/common/common.c2
-rw-r--r--third_party/g7221/decode/decoder.c4
2 files changed, 3 insertions, 3 deletions
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;