From 3e0ea7f6e1cec3c785312a140a72b120ff831ff0 Mon Sep 17 00:00:00 2001 From: Frank Galligan Date: Mon, 3 Dec 2012 10:20:11 -0800 Subject: [PATCH] vp9: Remove superfluous command. - vpx_calloc is called on arf_not_zz above. - Note The removed vpx_memset call had an issue with sizeof. Change-Id: I86fd7a167d0a042e581e613e2a6c0b5e63073fc6 --- vp9/encoder/vp9_mbgraph.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vp9/encoder/vp9_mbgraph.c b/vp9/encoder/vp9_mbgraph.c index 059572e..8511bc5 100644 --- a/vp9/encoder/vp9_mbgraph.c +++ b/vp9/encoder/vp9_mbgraph.c @@ -367,8 +367,6 @@ static void separate_arf_mbs(VP9_COMP *cpi) { CHECK_MEM_ERROR(arf_not_zz, vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), 1)); - vpx_memset(arf_not_zz, 0, sizeof(arf_not_zz)); - // We are not interested in results beyond the alt ref itself. if (n_frames > cpi->frames_till_gf_update_due) n_frames = cpi->frames_till_gf_update_due; -- 2.7.4