Commit 5fa7b879 by olly Committed by Oliver Woodman

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
parent 4b3463ab
...@@ -109,7 +109,7 @@ public final class Mp3Extractor implements Extractor { ...@@ -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. * 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}. * Maximum length of data read into {@link #scratch}.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment