diff --git a/src/encoder.c b/src/encoder.c index 69cd009a..95f6ce1f 100644 --- a/src/encoder.c +++ b/src/encoder.c @@ -45,6 +45,7 @@ double g_lambda_cost[55]; double g_cur_lambda_cost; uint32_t* g_sig_last_scan[3][7]; +int8_t g_convert_to_bit[LCU_WIDTH + 1]; /* Local functions. */ static void add_checksum(encoder_control* encoder); diff --git a/src/encoder.h b/src/encoder.h index 57f425d0..4fd369e8 100644 --- a/src/encoder.h +++ b/src/encoder.h @@ -130,7 +130,7 @@ void encode_block_residual(encoder_control *encoder, extern double g_lambda_cost[55]; extern double g_cur_lambda_cost; extern uint32_t* g_sig_last_scan[3][7]; -int8_t g_convert_to_bit[LCU_WIDTH + 1]; +extern int8_t g_convert_to_bit[LCU_WIDTH + 1]; static int8_t g_bitdepth = 8; static int8_t g_bit_increment = 0;