shithub: libvpx

Download patch

ref: 8910cf8d69be050dfd7be4b9cb540f97c95fcd03
parent: 94fbfb9f1b2ff105b8e8bf053c1493bb1f24629f
parent: 3011c53d36b4a3be4a583929a05e3da45f34ad94
author: James Zern <[email protected]>
date: Tue Aug 12 15:21:20 EDT 2014

Merge "Fix a run-time integer overflow"

--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -808,7 +808,7 @@
 }
 
 // vp9 uses 10,000,000 ticks/second as time stamp
-#define TICKS_PER_SEC 10000000
+#define TICKS_PER_SEC 10000000LL
 
 static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase,
                                        int64_t n) {