diff --git a/libavformat/utils.c b/libavformat/utils.c index 6f15dd2f42..8ddc831fab 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -515,7 +515,7 @@ int av_open_input_stream(AVFormatContext **ic_ptr, /** Size of probe buffer, for guessing file type from file contents. */ #define PROBE_BUF_MIN 2048 -#define PROBE_BUF_MAX 131072 +#define PROBE_BUF_MAX (1<<20) /** * Open a media file as input. The codec are not opened. Only the file