summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-02 23:48:37 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-02 23:50:00 +0100
commit1bc2fa447c22df09d312a7fba7e95531cfb051f8 (patch)
tree436950544900d5124d21e01cb67f513568694b0e /libavformat/avformat.h
parent9f6f4962fbfdbaaa5ae82d1cf216356ce4a64e1c (diff)
avformat: use AVPROBE_SCORE_STREAM_RETRY, instead of AVPROBE_SCORE_RETRY - 1
This makes the code clearer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 50b710816b..13f6524d85 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -338,6 +338,8 @@ typedef struct AVProbeData {
} AVProbeData;
#define AVPROBE_SCORE_RETRY (AVPROBE_SCORE_MAX/4)
+#define AVPROBE_SCORE_STREAM_RETRY (AVPROBE_SCORE_MAX/4-1)
+
#define AVPROBE_SCORE_EXTENSION 50 ///< score for file extension
#define AVPROBE_SCORE_MAX 100 ///< maximum score