ref: f288c943c4d6c3fb03266dee821df797fb99bde0
parent: aff0a802e70ee87cd0a1673f3cffaa0b9d6112b4
author: Marco <marpan@google.com>
date: Mon Feb 8 05:41:13 EST 2016
vp9-dynamic resize: Fix bug on releasing scaled reference. When the codec frame size is the same as the reference frame size, release the scaled reference before assigning it a new buf_idx. Only affects 1 pass non-svc mode, where the scaled references are release only under certain conditions (to prevent un-needed scaling of the references every frame). Modified a unittest that can trigger this bug without this change. https://code.google.com/p/chromium/issues/detail?id=582598 Change-Id: I9a884e36ebd7608b1641ec2a469e20a4f829cf43