]> granicus.if.org Git - libvpx/commitdiff
vp9_pickmode.c: cleanup -wextra warnings
authorYaowu Xu <yaowu@google.com>
Tue, 13 May 2014 16:39:25 +0000 (09:39 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Thu, 15 May 2014 18:29:03 +0000 (11:29 -0700)
Change-Id: I07e39f04fb11d2673722651fc78d0e9d22b1f557

vp9/encoder/vp9_pickmode.c

index 78fba73d46aaab339dec772021cd699af7cdd2b5..1e9887c2d44b181aab87ad0d6cd40f03f4c14e25 100644 (file)
@@ -31,7 +31,7 @@ static void full_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x,
                                     int_mv *tmp_mv, int *rate_mv) {
   MACROBLOCKD *xd = &x->e_mbd;
   MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi;
-  struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0}};
+  struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0, 0}};
   int step_param;
   int sadpb = x->sadperbit16;
   MV mvp_full;
@@ -110,7 +110,7 @@ static void sub_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x,
                                     MV *tmp_mv) {
   MACROBLOCKD *xd = &x->e_mbd;
   MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi;
-  struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0}};
+  struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0, 0}};
   int ref = mbmi->ref_frame[0];
   MV ref_mv = mbmi->ref_mvs[ref][0].as_mv;
   int dis;