[FFmpeg-cvslog] avformat: move PROBE_BUF_M* to internal.h
Michael Niedermayer
git at videolan.org
Mon Aug 26 02:07:18 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug 26 00:54:30 2013 +0200| [a9d1a7c79b3762341488a25bc36db7627625d15e] | committer: Michael Niedermayer
avformat: move PROBE_BUF_M* to internal.h
They will be used by the mp3 probe function in the next commit
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a9d1a7c79b3762341488a25bc36db7627625d15e
---
libavformat/internal.h | 4 ++++
libavformat/utils.c | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 1f74069..ceeaa1c 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -26,6 +26,10 @@
#define MAX_URL_SIZE 4096
+/** size of probe buffer, for guessing file type from file contents */
+#define PROBE_BUF_MIN 2048
+#define PROBE_BUF_MAX (1<<20)
+
#ifdef DEBUG
# define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size)
#else
diff --git a/libavformat/utils.c b/libavformat/utils.c
index dca4304..ab2f424 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -309,10 +309,6 @@ int av_demuxer_open(AVFormatContext *ic){
}
-/** size of probe buffer, for guessing file type from file contents */
-#define PROBE_BUF_MIN 2048
-#define PROBE_BUF_MAX (1<<20)
-
int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt,
const char *filename, void *logctx,
unsigned int offset, unsigned int max_probe_size)
More information about the ffmpeg-cvslog
mailing list