aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-10 21:39:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-10 21:39:19 +0200
commit94f5470a20d4dfe695953bc43fb9b8a91e1d3c8b (patch)
treee989c9fa1168fb2deff2221fef7e01f78ae7002c /libavformat/avformat.h
parent9586db6ae5048b640b2814418fd82acc89449f7e (diff)
downloadffmpeg-94f5470a20d4dfe695953bc43fb9b8a91e1d3c8b.tar.gz
lavf: add a AVPROBE_SCORE_RETRY instead of using hardcoded values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 9a7f271593..ccbbf425a6 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -336,6 +336,7 @@ typedef struct AVProbeData {
} AVProbeData;
#define AVPROBE_SCORE_MAX 100 ///< maximum score, half of that is used for file-extension-based detection
+#define AVPROBE_SCORE_RETRY (AVPROBE_SCORE_MAX/4)
#define AVPROBE_PADDING_SIZE 32 ///< extra allocated bytes at the end of the probe buffer
/// Demuxer will use avio_open, no opened file should be provided by the caller.