From: Adrian Grange Date: Tue, 4 Feb 2014 18:01:04 +0000 (-0800) Subject: Remove duplicated code X-Git-Tag: v1.4.0~2512^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee5cf3794e5a03db1b483f5cb93a9044e7f30fda;p=libvpx Remove duplicated code Change-Id: I1b7c8165162e835e22cf164cce989c0cebd7ca95 --- diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c index 19e9d2701..11d244f22 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;