jacosub_probe: slightly increase the score to limit misdetection.
authorClément Bœsch <ubitux@gmail.com>
Thu, 31 May 2012 20:12:46 +0000 (22:12 +0200)
committerClément Bœsch <ubitux@gmail.com>
Thu, 31 May 2012 20:12:46 +0000 (22:12 +0200)
libavformat/jacosubdec.c

index 615191e..67f4c37 100644 (file)
@@ -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;