1
0
Fork 0

Increase the maximum probe size to 4MB.

This allows detection of some files with corruption within the first few MB and should not have a speed impact on previous functional files.
This commit is contained in:
Hendrik Leppkes 2011-12-20 20:44:38 +01:00
parent c214cdffcb
commit 007f706d5d
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
/** size of probe buffer, for guessing file type from file contents */
#define PROBE_BUF_MIN 2048
#define PROBE_BUF_MAX (1 << 20)
#define PROBE_BUF_MAX (1 << 22)
#ifdef DEBUG
# define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size)