commit | 68b5a37d2779fd3325ce7ff9dc21fbd060276ecd | [log] [tgz] |
---|---|---|
author | Guang Qiao <guang.qiao@mediatek.com> | Wed Nov 13 16:24:59 2019 +0800 |
committer | Ray Essick <essick@google.com> | Wed Feb 05 15:14:56 2020 -0800 |
tree | 2007bf5c98670f1282ec6d5d0491ddcbda1d2a52 | |
parent | 733c728752ae6958c88b2da4a4c662d266294b70 [diff] |
MPEG4Writer:Fix MetaData use-after-free issue MediaCodecSource's mMeta would be replaced if encoder posts OUTPUT_FORMAT_CHANGED message. MPEG4Writer needs to hold the old mMeta to use its variables. Bug: 144537993 Test: run cts -m CtsMediaTestCases -t android.media.cts.MediaRecorderTest Change-Id: I52345a35fb8472bd58165e9060297f8d13f3b6fc