[x264-devel] commit: Fix issues with extremely large timebases (Jason Garrett-Glaser )
git at videolan.org
git at videolan.org
Sat Apr 24 00:40:02 CEST 2010
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Fri Apr 16 11:36:43 2010 -0700| [28fd5fb80fe1ab5c2bf51453a84fee4a18935ef9] | committer: Jason Garrett-Glaser
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.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=28fd5fb80fe1ab5c2bf51453a84fee4a18935ef9
---
common/common.c | 14 +++++++-------
common/common.h | 2 +-
common/set.h | 4 ++--
encoder/encoder.c | 22 +++++++++++++++-------
encoder/ratecontrol.c | 9 +++++----
input/input.h | 12 ++++++------
input/timecode.c | 47 ++++++++++++++++++++++++++++-------------------
input/y4m.c | 3 ++-
output/flv.c | 4 ++--
output/matroska.c | 4 ++--
output/mp4.c | 2 +-
x264.c | 13 +++++++++----
x264.h | 11 +++++------
13 files changed, 85 insertions(+), 62 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=28fd5fb80fe1ab5c2bf51453a84fee4a18935ef9
More information about the x264-devel
mailing list