Browse Source

jacosub_probe: slightly increase the score to limit misdetection.

tags/n1.0
Clément Bœsch 13 years ago
parent
commit
303619d3ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/jacosubdec.c

+ 1
- 1
libavformat/jacosubdec.c 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;


Loading…
Cancel
Save