jacosub_probe: slightly increase the score to limit misdetection.

(cherry picked from commit 303619d3ca9efa0031f6fede7dedeb27fcfb1756)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Clément Bœsch 2012-05-31 22:12:46 +02:00 committed by Michael Niedermayer
parent 662ab44c2d
commit f46b57657b

View 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;