* commit '594a8773c1ef5632a8eb2ef61a86c319460d4248': fix typo that broke all the builds
This commit is contained in:
commit
b171fe9f47
@ -314,12 +314,9 @@ status_t BufferQueue::dequeueBuffer(int *outBuf, sp<Fence>& outFence,
|
||||
* the consumer may still have pending reads of the
|
||||
* buffers in flight.
|
||||
*/
|
||||
if (found >= 0) {
|
||||
bool isOlder = mSlots[i].mFrameNumber <
|
||||
mSlots[found].mFrameNumber;
|
||||
if (isOlder) {
|
||||
found = i;
|
||||
}
|
||||
if ((found < 0) ||
|
||||
mSlots[i].mFrameNumber < mSlots[found].mFrameNumber) {
|
||||
found = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user