mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
jacosub_probe: slightly increase the score to limit misdetection.
This commit is contained in:
parent
908293d1bc
commit
303619d3ca
@ -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…
Reference in New Issue
Block a user