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

Commit bf7eac9f authored by Danny Baumann's avatar Danny Baumann
Browse files

Remove dead code.

As the current mMediaBuffer is set to NULL right above this block, said
block will never be triggered.
parent b1eac42f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -3141,12 +3141,6 @@ void OMXCodec::on_message(const omx_message &msg) {
                }
            }

            if (mIsEncoder && (mQuirks & kAvoidMemcopyInputRecordingFrames) && (NULL != (*buffers)[i].mMediaBuffer)) {
                CODEC_LOGV("EBD: %x %d", (*buffers)[i].mMediaBuffer, (*buffers)[i].mMediaBuffer->refcount() );
                (*buffers)[i].mMediaBuffer->release();
                buffers->editItemAt(i).mMediaBuffer = NULL;
            }

            if (mPortStatus[kPortIndexInput] == DISABLING) {
                CODEC_LOGV("Port is disabled, freeing buffer %p", buffer);