diff --git a/libavformat/utils.c b/libavformat/utils.c index 6f15dd2f42c2e9552a118917196885936d86cfa2..8ddc831fab90cccd3daed72f02200a70d5096c9d 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