Browse Source

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

Fixes ticket #8568.
tags/n4.3
Carl Eugen Hoyos 6 years ago
parent
commit
b601e24ab3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tty.c

+ 1
- 1
libavformat/tty.c View File

@@ -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);
}



Loading…
Cancel
Save