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

Skip to content
Commit d8d4fa9f authored by Diogo Ferreira's avatar Diogo Ferreira Committed by Diogo Ferreira
Browse files

OMXNodeInstance: Don't perform buffer alignment on mediatek hardware

The node instance was aligning buffers for all node types in mediatek
hardware. However, when there is a fallback to a software codec
(such as the case of ffmpeg), the client does not allocate an aligned
buffer and by aligning just the size here, we are potentially corrupting
an area of memory that is owned by some other component.

Moreso, this alignment is not needed, since the mtk buffer allocator
already aligns the size of buffers when they are requested.

Change-Id: I621085edb0766fb2e8da1c008a56eef1c991fdd4
parent 0da00ae9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment