fix timestamp calculation rollover w/altref
authorJames Zern <jzern@google.com>
Wed, 8 Aug 2012 00:12:10 +0000 (17:12 -0700)
committerJames Zern <jzern@google.com>
Wed, 8 Aug 2012 21:30:49 +0000 (14:30 -0700)
commit429743c56b77f5f9e3d0599ea0b7ffa42d867e3d
tree3685c261b2a835f7a8ab8ab60ab596de8732dcf2
parent51ebb9a39671f3a9743fb4cd0b155d577d2f8a65
fix timestamp calculation rollover w/altref

using large values for the timebase, e.g., {33333, 1000000} could
rollover the timestamp calculation in vp8e_encode as it was not using
64-bit math.

originally reported on ffmpeg's trac:
  https://ffmpeg.org/trac/ffmpeg/ticket/1014

BUG=468

Change-Id: Iedb4e11de086a3dda75097bfaf08f2488e2088d8
test/altref_test.cc [new file with mode: 0644]
test/test.mk
vp8/vp8_cx_iface.c