From 303619d3ca9efa0031f6fede7dedeb27fcfb1756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <ubitux@gmail.com>
Date: Thu, 31 May 2012 22:12:46 +0200
Subject: [PATCH] jacosub_probe: slightly increase the score to limit
 misdetection.

---
 libavformat/jacosubdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c
index 615191ee3fc..67f4c37b92c 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;
-- 
GitLab