]> granicus.if.org Git - libvpx/commitdiff
Remove empty else branch in mode_estimation
authorJingning Han <jingning@google.com>
Tue, 23 Oct 2018 05:51:48 +0000 (22:51 -0700)
committerJingning Han <jingning@google.com>
Tue, 23 Oct 2018 17:34:17 +0000 (10:34 -0700)
Change-Id: Iefa184aae80b920b054e3e922a77244c2b0d4b61

vp9/encoder/vp9_encoder.c

index 51b476ef697f4b23bc85085da25daf64656cb8d0..b31f180bb4b139858e93dfedf784f7e16300d499 100644 (file)
@@ -5891,10 +5891,7 @@ void mode_estimation(VP9_COMP *cpi, MACROBLOCK *x, MACROBLOCKD *xd,
 
   for (rf_idx = 0; rf_idx < 3; ++rf_idx) {
     int_mv mv;
-    if (ref_frame[rf_idx] == NULL) {
-      continue;
-    } else {
-    }
+    if (ref_frame[rf_idx] == NULL) continue;
 
 #if CONFIG_NON_GREEDY_MV
     (void)td;