aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-09 23:09:41 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-12 17:33:47 +0200
commit45c558563aef74d7d792bf7ff91f72741e4c5fc9 (patch)
treebc58f00b9e13b92a1c19de37daab0839982d1739
parent8a8aee358d41a8a90029b388a9ee35cceb683e0b (diff)
downloadffmpeg-45c558563aef74d7d792bf7ff91f72741e4c5fc9.tar.gz
avformat: Move MAX_PROBE_PACKETS to internal.h
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/avformat.h1
-rw-r--r--libavformat/internal.h2
2 files changed, 2 insertions, 1 deletions
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