From: Frank Galligan Date: Mon, 3 Dec 2012 18:20:11 +0000 (-0800) Subject: vp9: Remove superfluous command. X-Git-Tag: v1.3.0~1217^2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e0ea7f6e1cec3c785312a140a72b120ff831ff0;p=libvpx 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 --- diff --git a/vp9/encoder/vp9_mbgraph.c b/vp9/encoder/vp9_mbgraph.c index 059572e24..8511bc572 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;