]> granicus.if.org Git - libvpx/commitdiff
vp9: Remove superfluous command.
authorFrank Galligan <fgalligan@google.com>
Mon, 3 Dec 2012 18:20:11 +0000 (10:20 -0800)
committerFrank Galligan <fgalligan@google.com>
Mon, 3 Dec 2012 18:26:15 +0000 (10:26 -0800)
- 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

index 059572e249d1277a68477d4fe1660475cacab5b4..8511bc57268bc6b7e42109b70bf9f73d1a2bc67f 100644 (file)
@@ -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;