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

Commit 5b9ad80c authored by Vilas Bhat's avatar Vilas Bhat Committed by Automerger Merge Worker
Browse files

Merge "C2Decoder: Remove hardcoded PAGE_SIZE usage" into main am: b0cad002 am: 7e824ae9

parents bef2c243 7e824ae9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ int32_t C2Decoder::decodeFrames(uint8_t *inputBuffer, vector<AMediaCodecBufferIn
        work->input.ordinal.frameIndex = mNumInputFrame;
        work->input.buffers.clear();
        int size = frameInfo[mNumInputFrame].size;
        int alignedSize = ALIGN(size, PAGE_SIZE);
        int alignedSize = ALIGN(size, getpagesize());
        if (size) {
            std::shared_ptr<C2LinearBlock> block;
            status = mLinearPool->fetchLinearBlock(