From 57e12be283ad9c0ca9698ab61f5e8e914d4a8ac7 Mon Sep 17 00:00:00 2001 From: Scott LaVarnway Date: Mon, 10 Dec 2012 17:38:55 -0800 Subject: [PATCH] Bug fix: use correct count_mb_ref_frame_usage Change-Id: I9702f3e9ed664c2537e7874698c944620b07fff8 --- vp8/encoder/encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp8/encoder/encodeframe.c b/vp8/encoder/encodeframe.c index ba4f50b2b..115834a0b 100644 --- a/vp8/encoder/encodeframe.c +++ b/vp8/encoder/encodeframe.c @@ -895,7 +895,7 @@ void vp8_encode_frame(VP8_COMP *cpi) for(c_idx = 0; c_idx < MAX_REF_FRAMES; c_idx++) cpi->mb.count_mb_ref_frame_usage[c_idx] += - x->count_mb_ref_frame_usage[c_idx]; + cpi->mb_row_ei[i].mb.count_mb_ref_frame_usage[c_idx]; /* add up counts for each thread */ sum_coef_counts(x, &cpi->mb_row_ei[i].mb);