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

Skip to content
Commit b8fe079a authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

codec2: propagate C2_NO_MEMORY from C2ComponentStore::createComponent()

When C2ComponentStore::createComponent() returns C2_NO_MEMORY,
MediaCodec should raise CodecException with error code
ERROR_INSUFFICIENT_RESOURCE. This CL progagates the error properly.

Bug: 174530542
Test: android.media.cts.MediaCodecCapabilitiesTest#testGetMaxSupportedInstances

Change-Id: I6c8c2de0888944f57b4ea404a5f589e70ee61dc4
parent 8bd3f093
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