From ee5cf3794e5a03db1b483f5cb93a9044e7f30fda Mon Sep 17 00:00:00 2001
From: Adrian Grange <agrange@google.com>
Date: Tue, 4 Feb 2014 10:01:04 -0800
Subject: [PATCH] Remove duplicated code

Change-Id: I1b7c8165162e835e22cf164cce989c0cebd7ca95
---
 vp8/vp8_cx_iface.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c
index 19e9d27018..11d244f221 100644
--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -748,9 +748,6 @@ static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t  *ctx,
 {
     vpx_codec_err_t res = VPX_CODEC_OK;
 
-    if (!ctx->cfg.rc_target_bitrate)
-        return res;
-
     if (!ctx->cfg.rc_target_bitrate)
         return res;
 
-- 
GitLab