Commit fd500f95 authored by Yaowu Xu's avatar Yaowu Xu

firstpass.c: fix an UBSAN/IOC error

Change-Id: I579286e6741b689ae4281a35beb7b8f95c3ffce5
parent 6382727d
......@@ -2808,7 +2808,8 @@ static void find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame)
* static scene.
*/
if ( detect_transition_to_still( cpi, i,
(cpi->key_frame_frequency-i),
((int)(cpi->key_frame_frequency) -
(int)i),
loop_decay_rate,
decay_accumulator ) )
{
......
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