From 1af563b5dfeaf1e0d0a5ef8397dee59c81643132 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 31 Jul 2014 20:27:19 +0200 Subject: [PATCH] avcodec/ratecontrol: remove unneeded statement Found-by: CSA Signed-off-by: Michael Niedermayer --- libavcodec/ratecontrol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index a621f8f79a..72b3f44ae3 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -848,7 +848,6 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run) rcc->mv_bits_sum[pict_type] += rce->mv_bits; rcc->frame_count[pict_type]++; - bits = rce->i_tex_bits + rce->p_tex_bits; rate_factor = rcc->pass1_wanted_bits / rcc->pass1_rc_eq_output_sum * br_compensation;