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:
parent
662ab44c2d
commit
f46b57657b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user