mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-28 06:42:27 +02:00
When the next frame is forced to be a keyframe by setting enc->best_delta to DELTA_INFINITY, setting enc->keyframe to NONE means the current frame will never be converted from a candidate keyframe to a subframe. So enc->prev_candidate_undecided should be set to 0. This is a no-op change because enc->prev_candidate_undecided is only used to update prev_rect and dispose method, which is of no value when the next frame is a key frame. Change-Id: Ie51c7e3b6ba797b75af5e06439e8568d8185693f