diff options
Diffstat (limited to 'third_party/g7221/encode/encoder.c')
-rw-r--r-- | third_party/g7221/encode/encoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/g7221/encode/encoder.c b/third_party/g7221/encode/encoder.c index 82fad3e1..2d878cc4 100644 --- a/third_party/g7221/encode/encoder.c +++ b/third_party/g7221/encode/encoder.c @@ -230,7 +230,7 @@ void bits_to_words(UWord32 *region_mlt_bits, UWord32 *in_word_ptr; UWord32 current_word; - Word32 acca; + Word32 acca = 0; Word32 accb; Word16 temp; @@ -1010,7 +1010,7 @@ Word16 vector_huffman(Word16 category, * The next two lines are new to Release 1.2 */ - mytemp = acca & 0x3; + mytemp = (Word16)(acca & 0x3); acca = L_shr_nocheck(acca,2); inv_of_step_size_times_std_dev = extract_l(acca); |