summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2018-10-23 19:16:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-23 19:16:41 +0000
commit0257168c77791b804568ceaba429ac6f40bc55c7 (patch)
tree9bf7a6e5b4f135e57a6c671ec51402f0b76dd619 /vp9/encoder
parent08655e8cd1ac8f9f69940ac11a570fe10fe1a490 (diff)
parent77e109340d99b3a0ddda9cb5c5d605a236eb46b2 (diff)
downloadlibvpx-0257168c77791b804568ceaba429ac6f40bc55c7.tar
libvpx-0257168c77791b804568ceaba429ac6f40bc55c7.tar.gz
libvpx-0257168c77791b804568ceaba429ac6f40bc55c7.tar.bz2
libvpx-0257168c77791b804568ceaba429ac6f40bc55c7.zip
Merge "Remove empty else branch in mode_estimation"
Diffstat (limited to 'vp9/encoder')
-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;