shithub: libvpx

Download patch

ref: ee5cf3794e5a03db1b483f5cb93a9044e7f30fda
parent: 282f36adc4d87539ef204cfc05049f50fed9734b
author: Adrian Grange <agrange@google.com>
date: Tue Feb 4 05:01:04 EST 2014

Remove duplicated code

Change-Id: I1b7c8165162e835e22cf164cce989c0cebd7ca95

--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -751,9 +751,6 @@
     if (!ctx->cfg.rc_target_bitrate)
         return res;
 
-    if (!ctx->cfg.rc_target_bitrate)
-        return res;
-
     if (img)
         res = validate_img(ctx, img);