Index: core/fxcodec/codec/fx_codec_fax.cpp |
diff --git a/core/fxcodec/codec/fx_codec_fax.cpp b/core/fxcodec/codec/fx_codec_fax.cpp |
index 97b7ee2ad6e545869b4ae5494a21fd2350402424..59010391c56930d5438b6030d138e18265cf373a 100644 |
--- a/core/fxcodec/codec/fx_codec_fax.cpp |
+++ b/core/fxcodec/codec/fx_codec_fax.cpp |
@@ -359,16 +359,16 @@ FX_BOOL FaxG4GetRow(const uint8_t* src_buf, |
if (bitpos >= bitsize) { |
return FALSE; |
} |
- FX_BOOL bit1 = NEXTBIT; |
+ FX_BOOL next_bit1 = NEXTBIT; |
if (bitpos >= bitsize) { |
return FALSE; |
} |
- FX_BOOL bit2 = NEXTBIT; |
- if (bit1 && bit2) { |
+ FX_BOOL next_bit2 = NEXTBIT; |
+ if (next_bit1 && next_bit2) { |
v_delta = 2; |
- } else if (bit1) { |
+ } else if (next_bit1) { |
v_delta = -2; |
- } else if (bit2) { |
+ } else if (next_bit2) { |
if (bitpos >= bitsize) { |
return FALSE; |
} |