]> granicus.if.org Git - libvpx/commitdiff
Remove duplicated code
authorAdrian Grange <agrange@google.com>
Tue, 4 Feb 2014 18:01:04 +0000 (10:01 -0800)
committerAdrian Grange <agrange@google.com>
Tue, 4 Feb 2014 18:01:04 +0000 (10:01 -0800)
Change-Id: I1b7c8165162e835e22cf164cce989c0cebd7ca95

vp8/vp8_cx_iface.c

index 19e9d2701837d79b188536f2038464bfee2779c7..11d244f221e1b74c5806baf9d2b7afbe81ab9670 100644 (file)
@@ -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;