mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

Treats the media duration as unknown (`C.TIME_UNSET`) when all bytes are `-1` to prevent exceptions during playback. Issue: androidx/media#1819 PiperOrigin-RevId: 688103949 (cherry picked from commit 457bc55a4d37a7762c819db76bd58468ab1ca8b3)