commit | 7b670d4a0a4fa560f536f132e0a3fc7247f6724c | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Thu Dec 13 18:58:38 2012 -0800 |
committer | James Dong <jdong@google.com> | Tue Dec 18 11:14:02 2012 -0800 |
tree | 0eb7cf6ec487730cb95855aafbfcde8c54ee1e6d | |
parent | efc0cfb61e34c3bc688a7cbcc1ccef23922251c1 [diff] |
Fix memory leakage from MPEG4Writer. o The in-memory cache, mMoovBoxBuffer, holding the content for Moov box may not be freed. o Added comment describing how the in-memory cache works o Moved the memory release to a single place to make the code more robust o Avoided allocating the in-memory cache if the file is not intended to be streamable o related-to-bug: 7664029 Change-Id: If04fc6b12daeaaa86710dfb4b4b9c175da6421df