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

Commit 1830fb0d authored by Chong Zhang's avatar Chong Zhang Committed by android-build-merger
Browse files

stagefright: lock mLock in codecBufferFilled am: 331207d5

am: eec84ca0

Change-Id: I208200a9b9babaa50be9ca18b7b995a5410e6b9e
parents 9b9c3694 eec84ca0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1861,7 +1861,7 @@ status_t OMXNodeInstance::emptyNativeHandleBuffer_l(
}

void OMXNodeInstance::codecBufferFilled(omx_message &msg) {
    Mutex::Autolock autoLock(mBufferIDLock);
    Mutex::Autolock autoLock(mLock);

    if (mMaxTimestampGapUs <= 0ll || mRestorePtsFailed) {
        return;