diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2011-12-20 23:44:38 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-04 20:10:51 +0300 |
commit | 5964071d4ad12575810632a93678836ddb7abb2f (patch) | |
tree | e610e5bf32c0a60bc5d42f2218541254daa35dde /libavformat/internal.h | |
parent | 4767c3b801b5c03aacf6686d0fb109349a5dc0b5 (diff) |
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.
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index d136c79bdd..312d78357e 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -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) #define MAX_PROBE_PACKETS 2500 |