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

Michael Niedermayer git at videolan.org
Wed Aug 12 18:03:23 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Aug  9 23:09:41 2015 +0200| [45c558563aef74d7d792bf7ff91f72741e4c5fc9] | committer: Michael Niedermayer

avformat: Move MAX_PROBE_PACKETS to internal.h

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=45c558563aef74d7d792bf7ff91f72741e4c5fc9
---

 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



More information about the ffmpeg-cvslog mailing list