提交 4f0e8551 编写于 作者: M Michael Niedermayer

avformat/icodec: reduce score returned on probing

The ico probe function is pretty weak just checking a few bytes for being 0, 1 or not 0

Fixes probetest failure
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 e93523a0
......@@ -45,7 +45,7 @@ typedef struct {
static int probe(AVProbeData *p)
{
if (AV_RL16(p->buf) == 0 && AV_RL16(p->buf + 2) == 1 && AV_RL16(p->buf + 4))
return AVPROBE_SCORE_MAX / 3;
return AVPROBE_SCORE_MAX / 4;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册