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

Skip to content
Commit 990b562e authored by Chih-Yu Huang's avatar Chih-Yu Huang Committed by Chih-yu Huang
Browse files

ccodec: FetchLinearBlock() pass usage argument to C2BlockPool

Originally the usage argument is dropped when calling
CalculateMinMaxUsage(). This CL changes to union the usage argument
and the minimum usage, then pass it to the C2BlockPool.

Bug: 170694288
Test: android.media.cts.MediaCodecTest#testException
Change-Id: I057d6bd1c25112126492361d39192d8d6f4074e5
(cherry picked from commit 4ebf813ab08cbbb2b5edea62649cee925bb6499d)
parent f0521302
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