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:
parent
8b432e3d85
commit
a8056531da
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user