Skip to content
Snippets Groups Projects
Commit 303619d3 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

jacosub_probe: slightly increase the score to limit misdetection.

parent 908293d1
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ static int jacosub_probe(AVProbeData *p) ...@@ -67,7 +67,7 @@ static int jacosub_probe(AVProbeData *p)
ptr++; ptr++;
if (*ptr != '#' && *ptr != '\n') { if (*ptr != '#' && *ptr != '\n') {
if (timed_line(ptr)) if (timed_line(ptr))
return AVPROBE_SCORE_MAX / 2; return AVPROBE_SCORE_MAX/2 + 1;
return 0; return 0;
} }
ptr += strcspn(ptr, "\n") + 1; ptr += strcspn(ptr, "\n") + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment