removed redundant initialization

Change-Id: I34569375e520759860504c3dfb17a2c27ceb9aed
This commit is contained in:
Yaowu Xu
2012-09-14 09:20:58 -07:00
parent 6d8538e508
commit d482fbff53

View 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, &cpi->common.fc, sizeof(cpi->common.fc));
vpx_memcpy(&cpi->common.lfc_a, &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) { void vp8_setup_inter_frame(VP8_COMP *cpi) {