commit | f651bcb296f6ea15217056487c904689d57a0d0f | [log] [tgz] |
---|---|---|
author | James Zern <jzern@google.com> | Wed Feb 26 23:27:17 2014 -0800 |
committer | James Zern <jzern@google.com> | Wed Feb 26 23:27:17 2014 -0800 |
tree | ed5c6db28e643d05caf6566b7f631b84612e39c9 | |
parent | 104d8ec034729183f9c1bb80aea6ae546276e152 [diff] |
y4m_video_source: fix memory leak Begin() will be called twice with 2-pass encodes, invoking y4m_input_open which allocates memory; close the old instance first. Change-Id: Id252a21d286ca9ae998bd87599d43aeb8d7d77aa