media/library/extractor
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
..
src Fix MP4 sniffing for very short files 2020-08-07 19:02:23 +01:00
build.gradle Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
proguard-rules.txt Align flags between the core and extension FLAC extractors 2020-06-23 11:05:37 +01:00
README.md Split out extractor and common modules 2020-01-24 18:15:19 +00:00

ExoPlayer extractor library module

Provides media container extractors.

  • Javadoc: Classes matching com.google.android.exoplayer2.extractor.* belong to this module.