mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Increase MP3 sniffing distance
Issue: #2951 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=158960483
This commit is contained in:
parent
e4617567a3
commit
810c120abc
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,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 = MpegAudioHeader.MAX_FRAME_SIZE_BYTES;
|
||||
private static final int MAX_SNIFF_BYTES = 16 * 1024;
|
||||
/**
|
||||
* Maximum length of data read into {@link #scratch}.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue