mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-04 09:15:05 +00:00
Extend the MP3/AAC/AC3 header search to the first 1 MB of a file (up from 256 KB).
This commit is contained in:
parent
14a85edb20
commit
99646bc303
@ -349,7 +349,7 @@ get_file_type(filelist_t &file) {
|
||||
else {
|
||||
// File types which are the same in raw format and in other container formats.
|
||||
// Detection requires 20 or more consecutive packets.
|
||||
static const int s_probe_sizes[] = { 32 * 1024, 64 * 1024, 128 * 1024, 256 * 1024, 0 };
|
||||
static const int s_probe_sizes[] = { 32 * 1024, 64 * 1024, 128 * 1024, 256 * 1024, 512 * 1024, 1024 * 1024, 0 };
|
||||
static const int s_probe_num_required_consecutive_packets = 20;
|
||||
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user