summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2011-05-31 12:37:45 -0400
committerJohn Koleszar <jkoleszar@google.com>2011-05-31 12:37:45 -0400
commit0a72f568ec907acb033e4e3a263a378dc0587663 (patch)
tree7a09b0288ba6a513e93b6207e0504ffe6c97b034 /vp8/encoder
parent4a4ade6dc8d6b4af4848c830a359b4a0fc81d1a5 (diff)
downloadlibvpx-0a72f568ec907acb033e4e3a263a378dc0587663.tar
libvpx-0a72f568ec907acb033e4e3a263a378dc0587663.tar.gz
libvpx-0a72f568ec907acb033e4e3a263a378dc0587663.tar.bz2
libvpx-0a72f568ec907acb033e4e3a263a378dc0587663.zip
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
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/onyx_if.c4
1 files changed, 2 insertions, 2 deletions
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;