shithub: libvpx

Download patch

ref: 815e1e9fe4ede2bc8e0e9b58cc58f84822a02f89
parent: 06e7320c3e909c33e248b9910dc182b13451d1c8
author: Adrian Grange <agrange@google.com>
date: Thu Jan 20 08:13:33 EST 2011

Fixed use of motion percentage in KF/GF group calc

In both vp8_find_next_key_frame and define_gf_group,
motion_pct was initialised at the top of the loop before
next_frame stats had been read in.

This fix sets motion_pct after next_frame stats have
been read.

Change-Id: I8c0bebf372ef8aa97b97fd35b42973d1d831ee73