Fix issues with extremely large timebases
authorJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 16 Apr 2010 18:36:43 +0000 (11:36 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 23 Apr 2010 19:40:13 +0000 (12:40 -0700)
commit28fd5fb80fe1ab5c2bf51453a84fee4a18935ef9
treef3d2a9004717eec5a2e931036f05c78a018faa6b
parentaaf2194fcd9efacbb835af5fe3390ad48d19cc8c
Fix issues with extremely large timebases
With timebase denominators >= 2^30 , x264 would silently overflow and cause odd issues.
Now x264 will explicitly fail with timebase denominators >= 2^31 and work with timebase denominators 2^31 > x >= 2^30.
13 files changed:
common/common.c
common/common.h
common/set.h
encoder/encoder.c
encoder/ratecontrol.c
input/input.h
input/timecode.c
input/y4m.c
output/flv.c
output/matroska.c
output/mp4.c
x264.c
x264.h