From 99646bc303eb34263c7e230d3ee6ce7f1464b493 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 16 Jul 2009 19:56:25 +0200 Subject: [PATCH] Extend the MP3/AAC/AC3 header search to the first 1 MB of a file (up from 256 KB). --- src/merge/output_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/merge/output_control.cpp b/src/merge/output_control.cpp index a5d9561ce..d831c5415 100644 --- a/src/merge/output_control.cpp +++ b/src/merge/output_control.cpp @@ -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;