Add a test to test rollover of int64 in encoder interface.
authorFrank Galligan <fgalligan@google.com>
Tue, 26 Mar 2019 06:48:04 +0000 (23:48 -0700)
committerJames Zern <jzern@google.com>
Thu, 4 Apr 2019 17:53:42 +0000 (17:53 +0000)
commit65e5ba89b3c15c2fdbad35808bc91c1838754270
tree59cd72af24fa1ff7106450fcc1d9d9331c6a0bb9
parent4117995a8ecef413849bdc51ddaa82c77f5967bd
Add a test to test rollover of int64 in encoder interface.

The current libvpx encoder interface can potentially rollover an int64_t
value used to calculate the current timestamp. If the timebase was set
to microseconds and first timestamp was 0, then the rollover would
occur in about 10.675 days.

BUG=webm:701

Change-Id: I8d5aab46f8dcf250c1d4d43d5f3d27363c19cd54
test/test.mk
test/timestamp_test.cc [new file with mode: 0644]