From a8f0c9c5b98890423b949f5a2dd474d2393fc524 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 15 Apr 2008 13:36:31 +0000 Subject: [PATCH] Reduce probe score as it misdetects our flv file from the regression test. The only reason why it does not break them is that flv has the same score and happens to be first in the list. Originally committed as revision 12834 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/vc1test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c index c834017..531fd85 100644 --- a/libavformat/vc1test.c +++ b/libavformat/vc1test.c @@ -35,7 +35,7 @@ static int vc1t_probe(AVProbeData *p) if (p->buf[3] != 0xC5 && AV_RL32(&p->buf[4]) != 4) return 0; - return AVPROBE_SCORE_MAX; + return AVPROBE_SCORE_MAX/2; } static int vc1t_read_header(AVFormatContext *s, -- 2.7.4