bug fix - starting/optimal/max and buffer_level changed from int to int64_t

buffer_level in VP8_COMP and starting_buffer_level, optimal_buffer_level
and maximum_buffer_size in VP8_CONFIG changed from int to int64_t
to avoid potential crash issues for larger target bit rates.

Change-Id: I0d5ab6c8a44c2fef51f30cd8df4bb4b739c5df26
This commit is contained in:
James Berry 2011-10-07 15:42:23 -04:00
parent af12c23e8e
commit 05bde9d4a4
2 changed files with 4 additions and 4 deletions

View File

@ -145,9 +145,9 @@ extern "C"
int over_shoot_pct;
// buffering parameters
int starting_buffer_level; // in seconds
int optimal_buffer_level;
int maximum_buffer_size;
int64_t starting_buffer_level; // in seconds
int64_t optimal_buffer_level;
int64_t maximum_buffer_size;
// controlling quality
int fixed_q;

View File

@ -368,7 +368,7 @@ typedef struct VP8_COMP
int buffered_mode;
int buffer_level;
int64_t buffer_level;
int bits_off_target;
int rolling_target_bits;