From: John Koleszar Date: Tue, 31 May 2011 16:37:45 +0000 (-0400) Subject: Initialize first_time_stamp_ever X-Git-Tag: v0.9.7~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a72f568ec907acb033e4e3a263a378dc0587663;p=libvpx Initialize first_time_stamp_ever Misplaced #endif caused first_time_stamp_ever to only be initialized if CONFIG_INTERNAL_STATS was set. Change-Id: I2296a4ab00f7dfb767583edcc5d59b94f48c0621 --- diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 9892f8078..18ffa02a8 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -1947,13 +1947,13 @@ VP8_PTR vp8_create_compressor(VP8_CONFIG *oxcf) cpi->total_ssimg_all = 0; } +#endif + #ifndef LLONG_MAX #define LLONG_MAX 9223372036854775807LL #endif cpi->first_time_stamp_ever = LLONG_MAX; -#endif - cpi->frames_till_gf_update_due = 0; cpi->key_frame_count = 1;