diff --git a/src/rdo.c b/src/rdo.c index 9b4680b1..9688357d 100644 --- a/src/rdo.c +++ b/src/rdo.c @@ -616,7 +616,13 @@ void rdoq(encoder_state_t * const encoder_state, coefficient *coef, coefficient int8_t found_last = 0; int32_t cg_scanpos, scanpos_in_cg; - coeffgroup_rd_stats rd_stats; + struct { + double coded_level_and_dist; + double uncoded_dist; + double sig_cost; + double sig_cost_0; + int32_t nnz_before_pos0; + } rd_stats; int32_t last_x_bits[32],last_y_bits[32]; calc_last_bits(encoder_state, width, height, type,last_x_bits, last_y_bits); diff --git a/src/rdo.h b/src/rdo.h index 25e9f0bc..9efce6e6 100644 --- a/src/rdo.h +++ b/src/rdo.h @@ -31,15 +31,6 @@ #include "encoderstate.h" -typedef struct -{ - double coded_level_and_dist; - double uncoded_dist; - double sig_cost; - double sig_cost_0; - int32_t nnz_before_pos0; -} coeffgroup_rd_stats; - extern const uint32_t g_go_rice_range[5]; extern const uint32_t g_go_rice_prefix_len[5];