summaryrefslogtreecommitdiff
path: root/vp8
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-04-03 16:37:53 -0700
committerJames Zern <jzern@google.com>2015-04-03 16:44:15 -0700
commit30205e14b7aaf0f4036d9ece01d46e54baa6227f (patch)
tree38d6393d57f16defe6510ab0ae9e07c95de5cdd9 /vp8
parentacb219be25ef3cdd5f07c8a63388f76980f271e6 (diff)
downloadlibvpx-30205e14b7aaf0f4036d9ece01d46e54baa6227f.tar.gz
vp8cx_pick_filter_level*: remove dead inits
Change-Id: I28026b86d03264b9f4e2fc8ac1d3c74aa3954208
Diffstat (limited to 'vp8')
-rw-r--r--vp8/encoder/picklpf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/vp8/encoder/picklpf.c b/vp8/encoder/picklpf.c
index f0c8f28fc..a55a1ea16 100644
--- a/vp8/encoder/picklpf.c
+++ b/vp8/encoder/picklpf.c
@@ -142,7 +142,7 @@ void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi)
int min_filter_level = get_min_filter_level(cpi, cm->base_qindex);
int max_filter_level = get_max_filter_level(cpi, cm->base_qindex);
int filt_val;
- int best_filt_val = cm->filter_level;
+ int best_filt_val;
YV12_BUFFER_CONFIG * saved_frame = cm->frame_to_show;
/* Replace unfiltered frame buffer with a new one */
@@ -274,8 +274,7 @@ void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi)
int filter_step;
int filt_high = 0;
- /* Start search at previous frame filter level */
- int filt_mid = cm->filter_level;
+ int filt_mid;
int filt_low = 0;
int filt_best;
int filt_direction = 0;