From: Fritz Koenig Date: Tue, 25 Jan 2011 23:41:41 +0000 (-0800) Subject: Fix for incorrect variable declaration. X-Git-Tag: 1.0_branch~703^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53d8e9dc97651e157e594b1f195f342dea4b53cb;p=profile%2Fivi%2Flibvpx.git Fix for incorrect variable declaration. Commit 336aa0b7da8a35ba57400ce92fc016fc7fb35233 incorrectly declared current_pos as and int, when it should have been a FIRSTPASS_STATS pointer. Change-Id: I0a51c7a86ebba8546c95dd5d9d1c1143d4613e40 --- diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c index 3e67bf5..06e26be 100644 --- a/vp8/encoder/firstpass.c +++ b/vp8/encoder/firstpass.c @@ -2423,7 +2423,7 @@ void vp8_find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) if (cpi->oxcf.auto_key && cpi->frames_to_key > (int)cpi->key_frame_frequency ) { - int current_pos = cpi->stats_in; + FIRSTPASS_STATS *current_pos = cpi->stats_in; FIRSTPASS_STATS tmp_frame; cpi->frames_to_key /= 2;