1
0
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:
Clément Bœsch 2012-05-31 22:12:46 +02:00
parent 908293d1bc
commit 303619d3ca

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;