diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fb69852f45..6933624f26 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1015,7 +1015,6 @@ typedef struct AVStream { /** * Number of packets to buffer for codec probing */ -#define MAX_PROBE_PACKETS 2500 int probe_packets; /** diff --git a/libavformat/internal.h b/libavformat/internal.h index 77914d802c..352739e7dd 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -31,6 +31,8 @@ #define PROBE_BUF_MIN 2048 #define PROBE_BUF_MAX (1 << 20) +#define MAX_PROBE_PACKETS 2500 + #ifdef DEBUG # define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size) #else