diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-10 21:39:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-10 21:39:19 +0200 |
commit | 94f5470a20d4dfe695953bc43fb9b8a91e1d3c8b (patch) | |
tree | e989c9fa1168fb2deff2221fef7e01f78ae7002c /libavformat/avformat.h | |
parent | 9586db6ae5048b640b2814418fd82acc89449f7e (diff) | |
download | ffmpeg-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.h | 1 |
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. |