From: Yunqing Wang Date: Wed, 17 Jul 2013 21:59:00 +0000 (-0700) Subject: Remove unnecessary calling of vp9_init_quantizer() X-Git-Tag: v1.3.0~825^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3798db88e13fa929da304913fa0edc0420995df0;p=libvpx Remove unnecessary calling of vp9_init_quantizer() vp9_init_quantizer() is called in vp9_create_compressor(), and should not be called in vp9_set_speed_features(). Change-Id: Ic2f1f4b0531b9d46bb841d7e1d8da9812207dad6 --- diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 500bdfe0a..2afcd27b1 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -877,8 +877,6 @@ void vp9_set_speed_features(VP9_COMP *cpi) { cpi->mb.quantize_b_4x4 = vp9_regular_quantize_b_4x4; - vp9_init_quantizer(cpi); - if (cpi->sf.iterative_sub_pixel == 1) { cpi->find_fractional_mv_step = vp9_find_best_sub_pixel_step_iteratively; } else if (cpi->sf.quarter_pixel_search) {