summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorAndriy Gelman <andriy.gelman@gmail.com>2019-10-17 10:49:20 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-03 11:52:32 +0100
commit5e3229df4ca86322f334bd098a9335f66ebdd649 (patch)
tree323d2b60daf824630cc304635746b1983f47268f /libavformat/internal.h
parent33583803e107b6d532def0f9d949364b01b6ad5a (diff)
avformat: Add max_probe_packets option
Allows user to set maximum number of buffered packets when probing a codec. It was a hard-coded parameter before this commit. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 67c35cc3e1..ec9a29907a 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -33,8 +33,6 @@
#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