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

Skip to content
Commit 4956c763 authored by Mingming Yin's avatar Mingming Yin Committed by Linux Build Service Account
Browse files

frameworks/av : Add Null check for Audio Track

- Check if AudioTrack is available before de-referencing
it's pointer to avoid crashes during stability runs

- Rootcause: During Video playback when the audioTrack
init fails due to mediaplayer errors, the getMediaTimeUs
is already getting called resulting in a crash

- Fix: Added NULL pointer check when de-referencing pointer

CRs-Fixed: 658536
Change-Id: I0846e5cd805cb1523edb52ea9c7c04b41f954e6f
parent 8ffa6cd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment