mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
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:
parent
4b3463ab45
commit
5fa7b879a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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}.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue