summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-26 00:54:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-26 00:54:30 +0200
commita9d1a7c79b3762341488a25bc36db7627625d15e (patch)
treea53ff9137e0bd60b553cd1b5863bf6c4ff82f20f /libavformat/internal.h
parent22fbc7f8becdee1fd6ab7cac93ae23d6022e9a56 (diff)
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@gmx.at>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 1f74069bcc..ceeaa1c65f 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