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

Commit 2c4f204e authored by Sohail Nagaraj's avatar Sohail Nagaraj Committed by Sohail Nagaraj (xWF)
Browse files

MPEG4Extractor: Use ssize_t to correctly handle read errors

Change the type of `bytesRead` from size_t to ssize_t to properly
handle negative return values from the readAt() function, which
indicate an I/O error.

FLAG: com.android.media.extractor.flags.extractor_mp4_enable_iamf
Bug: 428836838

Test: atest MediaExtractorTest
Change-Id: Ic78a70c90a31588407e6d798ae586ea805dc32ac
parent ec78d864
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