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

Commit ba1b1679 authored by Andreas Huber's avatar Andreas Huber
Browse files

Turn another assertion into a runtime error. Damn you surfaces.

Change-Id: Ib62957180949293a6fb84bb5a40af058798337ab
related-to-bug: 3335220
parent c40fc871
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2233,7 +2233,11 @@ void OMXCodec::onCmdComplete(OMX_COMMANDTYPE cmd, OMX_U32 data) {
                enablePortAsync(portIndex);

                status_t err = allocateBuffersOnPort(portIndex);
                CHECK_EQ(err, (status_t)OK);

                if (err != OK) {
                    CODEC_LOGE("allocateBuffersOnPort failed (err = %d)", err);
                    setState(ERROR);
                }
            }
            break;
        }