]> granicus.if.org Git - libvpx/commitdiff
Remove duplicate code from merge
authorJohann <johannkoenig@google.com>
Thu, 26 Mar 2015 21:56:17 +0000 (14:56 -0700)
committerJohann <johannkoenig@google.com>
Thu, 26 Mar 2015 21:56:24 +0000 (14:56 -0700)
Change-Id: I5e2a1270001b7e29f3f198d57ea40e1efccef367

vp8/vp8_cx_iface.c

index 6768ffdc3b3099f33d4cb5a992668df5530d0940..bf8a8537c1a0e13a20a8dfe2636fa32574c83576 100644 (file)
@@ -858,9 +858,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;