Merge "Use memset for initialization to 0"

This commit is contained in:
Adrian Grange 2014-12-03 16:50:39 -08:00 committed by Gerrit Code Review
commit b56451f488

View File

@ -3217,11 +3217,8 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
vp9_clear_system_state();
#if CONFIG_INTERNAL_STATS
{
int i;
for (i = 0; i < MAX_MODES; ++i)
cpi->mode_chosen_counts[i] = 0;
}
vpx_memset(cpi->mode_chosen_counts, 0,
MAX_MODES * sizeof(*cpi->mode_chosen_counts));
#endif
if (cpi->sf.recode_loop == DISALLOW_RECODE) {