From 4f0e85517f5dcdba40f7b299b61997ecfc702440 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 8 Nov 2013 20:10:33 +0100 Subject: 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: Michael Niedermayer --- libavformat/icodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/icodec.c b/libavformat/icodec.c index fa308da722..4c038e9614 100644 --- a/libavformat/icodec.c +++ b/libavformat/icodec.c @@ -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; } -- cgit v1.2.3