Commit b601e24a authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/tty: Reduce probe score to fix ffmetadata auto-detection.

Fixes ticket #8568.
parent 8f222573
......@@ -65,7 +65,7 @@ static int read_probe(const AVProbeData *p)
for (int i = 8; i < p->buf_size; i++)
cnt += !!isansicode(p->buf[i]);
return (cnt * 100LL / p->buf_size) * (cnt > 400) *
return (cnt * 99LL / p->buf_size) * (cnt > 400) *
!!av_match_ext(p->filename, tty_extensions);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment