Rate control bug with long key frame interval.
authorPaul Wilkins <paulwilkins@google.com>
Fri, 23 Jul 2010 16:01:12 +0000 (17:01 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Fri, 23 Jul 2010 16:01:12 +0000 (17:01 +0100)
commit9404c7db6d627e4b1bed24419a6e1d388af29d93
tree28febb8a4a787848fdf7b1c95d8345352575e8a4
parentd576690ba1b5fbe1a3e03207fe04c4d0cb875e73
Rate control bug with long key frame interval.

In two pass encodes, the calculation of the number of bits
allocated to a KF group had the potential to overflow for high data
rates if the interval is very long.

We observed the problem in one test clip where there was one
section where there was an 8000 frame gap between key frames.

Change-Id: Ic48eb86271775d7573b4afd166b567b64f25b787
vp8/encoder/firstpass.c
vp8/encoder/onyx_int.h