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

Skip to content
Commit 85ad714b authored by Shalaj Jain's avatar Shalaj Jain Committed by Gerrit - the friendly Code Review server
Browse files

stagefright: Return error for wrong buffer index in MediaCodec

Return error if the index passed by client is incorrect rather than
returning OK with null buffer.

Also add a null buffer check in MPEG4Writer as it shouldn't rely on
the source returning the correct error code, just as a precaution.

Change-Id: Iaefcd57a545ec3ce4ec0b8d4220bdf41377ff798
parent 04fdb627
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment