Increase MP3 sniff bytes

MP3 is last in the sniffing order now, so I think it's fine to do this
without worrying about impacting on other file types.

PiperOrigin-RevId: 322996771
This commit is contained in:
olly 2020-07-24 16:03:32 +01:00 committed by Oliver Woodman
parent 4b3463ab45
commit 5fa7b879a2

View file

@ -109,7 +109,7 @@ public final class Mp3Extractor implements Extractor {
/**
* The maximum number of bytes to peek when sniffing, excluding the ID3 header, before giving up.
*/
private static final int MAX_SNIFF_BYTES = 16 * 1024;
private static final int MAX_SNIFF_BYTES = 32 * 1024;
/**
* Maximum length of data read into {@link #scratch}.
*/