summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2018-10-22 22:51:48 -0700
committerJingning Han <jingning@google.com>2018-10-23 10:34:17 -0700
commit77e109340d99b3a0ddda9cb5c5d605a236eb46b2 (patch)
tree86615e0fd5047fe2a64906cb38a8d35ff560c7bb
parent79ef532489271c7ef744a16ba71e23ac6b6810af (diff)
downloadlibvpx-77e109340d99b3a0ddda9cb5c5d605a236eb46b2.tar
libvpx-77e109340d99b3a0ddda9cb5c5d605a236eb46b2.tar.gz
libvpx-77e109340d99b3a0ddda9cb5c5d605a236eb46b2.tar.bz2
libvpx-77e109340d99b3a0ddda9cb5c5d605a236eb46b2.zip
Remove empty else branch in mode_estimation
Change-Id: Iefa184aae80b920b054e3e922a77244c2b0d4b61
-rw-r--r--vp9/encoder/vp9_encoder.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index 51b476ef6..b31f180bb 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -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;