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

Commit e3fb1cb1 authored by James Dong's avatar James Dong Committed by Android (Google) Code Review
Browse files

Merge "Fix a crash where the EOS was signalled but some output buffer were still pending."

parents be566b48 58c524ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1990,7 +1990,7 @@ int64_t OMXCodec::retrieveDecodingTimeUs(bool isCodecSpecific) {
    CHECK(mIsEncoder);

    if (mDecodingTimeList.empty()) {
        CHECK(mNoMoreOutputData);
        CHECK(mSignalledEOS || mNoMoreOutputData);
        // No corresponding input frame available.
        // This could happen when EOS is reached.
        return 0;