summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
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;