Commit 05bde9d4 authored by James Berry's avatar James Berry

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
parent af12c23e
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment