media/library
olly 5169652575 Fix MP4 sniffing for very short files
The sniffer sniffs boxes at the start of the file to try and determine
whether the file is fragmented. However, if the file is extremely short
then it's possible that sniffing will try and read beyond the end of
the file, resulting i EOFException being thrown.

In general it's OK for sniffing to throw EOFException if the file is
not of the correct type. The problem in this case is that EOFException
can be thrown for an actual MP4 file, due to the sniffer continuing up
sniff atoms up to bytesToSearch in case the file is fragmented.

PiperOrigin-RevId: 325205389
2020-08-07 19:02:23 +01:00
..
all Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
common Opus: Add utility for handling header and initialization data 2020-08-07 19:02:14 +01:00
core Update initial bandwidth estimates. 2020-08-07 19:02:04 +01:00
dash Add a builder for DownloadRequest 2020-08-07 18:59:30 +01:00
extractor Fix MP4 sniffing for very short files 2020-08-07 19:02:23 +01:00
hls Fix chunkless preparation for playlists with dangling EXT-X-MEDIA tags 2020-08-07 19:00:48 +01:00
smoothstreaming Add a builder for DownloadRequest 2020-08-07 18:59:30 +01:00
ui Remove unnessary resources 2020-08-07 19:01:55 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.