diff --git a/src/enc/frame.c b/src/enc/frame.c index 5bc0731c..d0270d7b 100644 --- a/src/enc/frame.c +++ b/src/enc/frame.c @@ -58,8 +58,6 @@ static void ResetStats(VP8Encoder* const enc, int precalc_cost) { VP8Proba* const proba = &enc->proba_; if (precalc_cost) VP8CalculateLevelCosts(proba); proba->nb_skip_ = 0; - proba->nb_i4_ = 0; - proba->nb_i16_ = 0; } //----------------------------------------------------------------------------- diff --git a/src/enc/vp8enci.h b/src/enc/vp8enci.h index e7194ad3..dbab162b 100644 --- a/src/enc/vp8enci.h +++ b/src/enc/vp8enci.h @@ -187,7 +187,7 @@ typedef struct { StatsArray stats_[NUM_TYPES][NUM_BANDS]; // 7.4k CostArray level_cost_[NUM_TYPES][NUM_BANDS]; // 11.4k int use_skip_proba_; // Note: we always use skip_proba for now. - int nb_skip_, nb_i4_, nb_i16_; // block type counters + int nb_skip_; // number of skipped blocks } VP8Proba; // Filter parameters. Not actually used in the code (we don't perform