提交 a35e30b6 编写于 作者: M Michael Niedermayer

avformat/libgme: decrease score by 1, fixes probetest failure

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 1b3d3a9c
......@@ -174,7 +174,7 @@ static int probe_gme(AVProbeData *p)
// Reads 4 bytes - returns "" if unknown format.
if (gme_identify_header(p->buf)[0]) {
if (p->buf_size < 16384)
return AVPROBE_SCORE_MAX / 4 + 1;
return AVPROBE_SCORE_MAX / 4 ;
else
return AVPROBE_SCORE_MAX / 2;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册