Initialize first_time_stamp_ever
authorJohn Koleszar <jkoleszar@google.com>
Tue, 31 May 2011 16:37:45 +0000 (12:37 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 31 May 2011 16:37:45 +0000 (12:37 -0400)
Misplaced #endif caused first_time_stamp_ever to only be initialized if
CONFIG_INTERNAL_STATS was set.

Change-Id: I2296a4ab00f7dfb767583edcc5d59b94f48c0621

vp8/encoder/onyx_if.c

index 9892f80..18ffa02 100644 (file)
@@ -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;