mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00

The FakeSampleStream is currently always ready even if it doesn't have any samples to read. Fix that by checking for the conditions under which read() will be successful. PiperOrigin-RevId: 301371031