| commit | 5ab6d9de1fb690dc20a27e5120e4d976b96502aa | [log] [tgz] |
|---|---|---|
| author | hui su <huisu@google.com> | Wed Dec 14 01:32:06 2016 |
| committer | James Zern <jzern@google.com> | Wed Dec 14 02:18:57 2016 |
| tree | c143e4332cc316e0348481e9f9a592ddc9b9f803 | |
| parent | f29bf582df2349b29264e188670750b54850651e [diff] |
AnimEncoder: avoid freeing uninitialized memory pointer. In GenerateCandidates(), when candidate_ll->evaluate_ and candidate_lossy->evaluate_ are both true, if lossless encoding exits on error, candidate_ll->evaluate_ would not be correctly reset. This will cause freeing uninitialized memory pointer in SetFrame(). BUG=webp:322 Change-Id: I481b49a186e4fa3607ce71b4543a481083edf444 (cherry picked from commit 3ebe1c0003287e1d9b65d99750f227ca7ed4dffc)