summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/vp9_rd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_rd.c b/vp9/encoder/vp9_rd.c
index c01e5f81b..894b1497b 100644
--- a/vp9/encoder/vp9_rd.c
+++ b/vp9/encoder/vp9_rd.c
@@ -179,9 +179,7 @@ int vp9_compute_rd_mult_based_on_qindex(const VP9_COMP *cpi, int qindex) {
uint32_t rdmult = q * q;
if (cpi->common.frame_type != KEY_FRAME) {
- if (qindex < 1)
- rdmult = rdmult * 3 + (rdmult * 2 / 3);
- else if (qindex < 128)
+ if (qindex < 128)
rdmult = rdmult * 4;
else if (qindex < 190)
rdmult = rdmult * 4 + rdmult / 2;