summaryrefslogtreecommitdiff
path: root/libavformat/jacosubdec.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-31 22:12:46 +0200
committerClément Bœsch <ubitux@gmail.com>2012-05-31 22:12:46 +0200
commit303619d3ca9efa0031f6fede7dedeb27fcfb1756 (patch)
treefa267a8e7124421e69a986141b5eed8223661f0f /libavformat/jacosubdec.c
parent908293d1bcaa0e059561bec8ae0b3ad1fde2d196 (diff)
downloadffmpeg-303619d3ca9efa0031f6fede7dedeb27fcfb1756.tar.gz
jacosub_probe: slightly increase the score to limit misdetection.
Diffstat (limited to 'libavformat/jacosubdec.c')
-rw-r--r--libavformat/jacosubdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c
index 615191ee3f..67f4c37b92 100644
--- a/libavformat/jacosubdec.c
+++ b/libavformat/jacosubdec.c
@@ -67,7 +67,7 @@ static int jacosub_probe(AVProbeData *p)
ptr++;
if (*ptr != '#' && *ptr != '\n') {
if (timed_line(ptr))
- return AVPROBE_SCORE_MAX / 2;
+ return AVPROBE_SCORE_MAX/2 + 1;
return 0;
}
ptr += strcspn(ptr, "\n") + 1;