commit | 3a229574b50a3535626d8278b2411849fd39963e | [log] [tgz] |
---|---|---|
author | Guang Qiao <guang.qiao@mediatek.com> | Wed Nov 13 16:24:59 2019 +0800 |
committer | Gopalakrishnan Nallasamy <gokrishnan@google.com> | Sun Feb 02 18:47:29 2020 -0800 |
tree | 8f7196bb5f46115090dd74c468f5dd2ff1919116 | |
parent | d52fb3773863f114f891e456834ba562ceab54aa [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