commit | b69d77ca8ef84bcdf75734326bb0ab64f7bb10d1 | [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 | d4de0e4c16693d6656efc9005c1ee323dfff464a | |
parent | ba8da49e244be1e18b19bb16b16ff5c75e165712 [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