]> granicus.if.org Git - libvpx/commitdiff
removed redundant initialization
authorYaowu Xu <yaowu@google.com>
Fri, 14 Sep 2012 16:20:58 +0000 (09:20 -0700)
committerYaowu Xu <yaowu@google.com>
Fri, 14 Sep 2012 16:53:11 +0000 (09:53 -0700)
Change-Id: I34569375e520759860504c3dfb17a2c27ceb9aed

vp8/encoder/ratectrl.c

index e985748dafa8c348f82ae949b0f30caeef28b22a..b7fd07e82305074cafc7b3de3b495931e6cf4c89 100644 (file)
@@ -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) {