[FFmpeg-devel] [PATCH] avformat: Move MAX_PROBE_PACKETS to internal.h

Michael Niedermayer michaelni at gmx.at
Sun Aug 9 23:21:20 CEST 2015


From: Michael Niedermayer <michael at niedermayer.cc>

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavformat/avformat.h |    1 -
 libavformat/internal.h |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index fb69852..6933624 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 77914d8..352739e 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
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list