From ac5565d88c0d503c962cbb958298a2cd1203cd90 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Apr 2007 11:37:43 +0000 Subject: file extension based probe is max/2 Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nsvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index f751f605d3..a8fbca180d 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -743,7 +743,7 @@ static int nsv_probe(AVProbeData *p) } /* so we'll have more luck on extension... */ if (match_ext(p->filename, "nsv")) - return AVPROBE_SCORE_MAX-20; + return AVPROBE_SCORE_MAX/2; /* FIXME: add mime-type check */ return 0; } -- cgit v1.2.3