aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-31 22:12:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-07 00:55:24 +0200
commitf46b57657b791b4536633a17fb139cccf5c57b0a (patch)
treea362fbf775f3c7a0fb11856664e235492a91ab59
parent662ab44c2de55b674f6b596890a9ab1afdce1aca (diff)
downloadffmpeg-f46b57657b791b4536633a17fb139cccf5c57b0a.tar.gz
jacosub_probe: slightly increase the score to limit misdetection.
(cherry picked from commit 303619d3ca9efa0031f6fede7dedeb27fcfb1756) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/jacosubdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c
index 615191ee3f..67f4c37b92 100644
--- a/libavformat/jacosubdec.c
+++ b/libavformat/jacosubdec.c
@@ -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;