shithub: libvpx

Download patch

ref: 0a72f568ec907acb033e4e3a263a378dc0587663
parent: 4a4ade6dc8d6b4af4848c830a359b4a0fc81d1a5
author: John Koleszar <jkoleszar@google.com>
date: Tue May 31 08:37:45 EDT 2011

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

--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -1947,12 +1947,12 @@
         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;