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

Commit f0a49f68 authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

am 1d7a8b44: Merge "Fix a case where the aac hardware decoder is in a...

am 1d7a8b44: Merge "Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request." into froyo

Merge commit '1d7a8b44' into froyo-plus-aosp

* commit '1d7a8b44':
  Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request.
parents 10d40772 1d7a8b44
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2068,7 +2068,13 @@ void OMXCodec::fillOutputBuffer(BufferInfo *info) {

    CODEC_LOGV("Calling fill_buffer on buffer %p", info->mBuffer);
    status_t err = mOMX->fillBuffer(mNode, info->mBuffer);
    CHECK_EQ(err, OK);

    if (err != OK) {
        CODEC_LOGE("fillBuffer failed w/ error 0x%08x", err);

        setState(ERROR);
        return;
    }

    info->mOwnedByComponent = true;
}