diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-05 15:16:53 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-05 15:34:56 +0400 |
commit | 097f668047c8dd6308217c244075b1f97d496116 (patch) | |
tree | 08b6d6417d571fed496740ebece94bd8ec4874fe /libavformat/realtextdec.c | |
parent | a1f234be11ea040d59f92279b331d5aeef3243b4 (diff) |
avformat: replace "AVPROBE_SCORE_MAX / X" by AVPROBE_SCORE_EXTENSION / Y
Demuxers where the changed code looked less readable where skiped
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/realtextdec.c')
-rw-r--r-- | libavformat/realtextdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/realtextdec.c b/libavformat/realtextdec.c index 67bc33983a..5e4981a40b 100644 --- a/libavformat/realtextdec.c +++ b/libavformat/realtextdec.c @@ -41,7 +41,7 @@ static int realtext_probe(AVProbeData *p) if (AV_RB24(ptr) == 0xEFBBBF) ptr += 3; /* skip UTF-8 BOM */ - return !av_strncasecmp(ptr, "<window", 7) ? AVPROBE_SCORE_MAX/2 : 0; + return !av_strncasecmp(ptr, "<window", 7) ? AVPROBE_SCORE_EXTENSION : 0; } static int read_ts(const char *s) |