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

Skip to content
Commit f2d6711d authored by John Stultz's avatar John Stultz Committed by Lajos Molnar
Browse files

codec2: vndk/C2Buffer: Rework CreateLinearBlock to use fetchAllocator()



The current code in _C2BlockFactory::CreateLinearBlock()
duplicates logic in C2Store code and creates extra complexity to
extend it for the future DMABUF Heaps case.

So make use of fetchAllocator() instead.

Close review would be appreciated!

Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
Change-Id: I7c3cc40fe82bd0b7646ff62c3456b158682e04e0
parent 653ddd1c
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