]> granicus.if.org Git - libvpx/commitdiff
Move a statement to match order in aom/master
authorYaowu Xu <yaowu@google.com>
Tue, 18 Oct 2016 17:00:21 +0000 (10:00 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 18 Oct 2016 17:00:21 +0000 (10:00 -0700)
Change-Id: Ic11eae36c9c62a20699197847aa3ef9562d4ad7e

av1/encoder/rdopt.c

index b776548d176118656283127346b18c59f8f11f69..7069c56d5951a510abc434a8a93e633b650b66cd 100644 (file)
@@ -9830,12 +9830,12 @@ void av1_rd_pick_inter_mode_sb_seg_skip(AV1_COMP *cpi, TileDataEnc *tile_data,
 #else   // CONFIG_GLOBAL_MOTION
   mbmi->mv[0].as_int = 0;
 #endif  // CONFIG_GLOBAL_MOTION
+  x->skip = 1;
 
 #if CONFIG_REF_MV
   mbmi->ref_mv_idx = 0;
   mbmi->pred_mv[0].as_int = 0;
 #endif
-  x->skip = 1;
 
   if (cm->interp_filter != BILINEAR) {
     best_filter = EIGHTTAP_REGULAR;