From d482fbff53da40320d6bc3f44d103be7475a40ac Mon Sep 17 00:00:00 2001 From: Yaowu Xu <yaowu@google.com> Date: Fri, 14 Sep 2012 09:20:58 -0700 Subject: [PATCH] removed redundant initialization Change-Id: I34569375e520759860504c3dfb17a2c27ceb9aed --- vp8/encoder/ratectrl.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c index e985748daf..b7fd07e823 100644 --- a/vp8/encoder/ratectrl.c +++ b/vp8/encoder/ratectrl.c @@ -289,15 +289,6 @@ void vp8_setup_key_frame(VP8_COMP *cpi) { vpx_memcpy(&cpi->common.lfc, &cpi->common.fc, sizeof(cpi->common.fc)); vpx_memcpy(&cpi->common.lfc_a, &cpi->common.fc, sizeof(cpi->common.fc)); - /* - vpx_memcpy( cpi->common.fc.vp8_mode_contexts, - cpi->common.fc.mode_context, - sizeof(cpi->common.fc.mode_context)); - */ - vpx_memcpy(cpi->common.fc.vp8_mode_contexts, - default_vp8_mode_contexts, - sizeof(default_vp8_mode_contexts)); - } void vp8_setup_inter_frame(VP8_COMP *cpi) { -- GitLab