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

Skip to content
Commit 6360911c authored by Leena Winterrowd's avatar Leena Winterrowd
Browse files

stagefright: ExtendedStats: Add lock in TimeBoundVector

TimedBoundVector::clear() can get called from AwesomePlayer's
seek context whereas TimeBoundVector::add() is called from
logBitrate() in MediaSource::read(). Place a lock around all
TimeBoundVector APIs to avoid data corruption due to this
potential race condition.

CRs-Fixed: 753767
Change-Id: Ie70549d606515e2c0ccd8ac6bcbf07d1d5908f36
parent b9b86dcb
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