summaryrefslogtreecommitdiff
path: root/libavformat/tedcaptionsdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-05 13:16:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-05 13:34:56 +0200
commit097f668047c8dd6308217c244075b1f97d496116 (patch)
tree08b6d6417d571fed496740ebece94bd8ec4874fe /libavformat/tedcaptionsdec.c
parenta1f234be11ea040d59f92279b331d5aeef3243b4 (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/tedcaptionsdec.c')
-rw-r--r--libavformat/tedcaptionsdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tedcaptionsdec.c b/libavformat/tedcaptionsdec.c
index 048ba96981..b468969590 100644
--- a/libavformat/tedcaptionsdec.c
+++ b/libavformat/tedcaptionsdec.c
@@ -340,7 +340,7 @@ static av_cold int tedcaptions_read_probe(AVProbeData *p)
count++;
}
return count == FF_ARRAY_ELEMS(tags) ? AVPROBE_SCORE_MAX :
- count ? AVPROBE_SCORE_MAX / 2 : 0;
+ count ? AVPROBE_SCORE_EXTENSION : 0;
}
static int tedcaptions_read_seek(AVFormatContext *avf, int stream_index,