mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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