Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5a9cbb27 authored by Saurabh's avatar Saurabh Committed by Saurabh Banore
Browse files

Handle video track with invalid WxH to avoid mediaserver crash



Some specific files would cause mediaserver to crash if video
tracks lack height/width metadata. Add check to validate width/height
metadata and set them to 0 in case either of them are missing.

Test: Build is successful, atest CtsVideoTestCases, atest
mediacodecTest, atest CtsMediaMiscTestCases, atest
CtsMediaPlayerTestCases

Bug: 331454351
Change-Id: Ica635342ea4e68809084b9f7525ed79c61b370c9
Signed-off-by: default avatarSaurabh <sbbanore@amazon.com>
parent ff8dca48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment