file extension based probe is max/2

Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-04-08 11:37:43 +00:00
parent 65a00bd65a
commit ac5565d88c

View file

@ -743,7 +743,7 @@ static int nsv_probe(AVProbeData *p)
} }
/* so we'll have more luck on extension... */ /* so we'll have more luck on extension... */
if (match_ext(p->filename, "nsv")) if (match_ext(p->filename, "nsv"))
return AVPROBE_SCORE_MAX-20; return AVPROBE_SCORE_MAX/2;
/* FIXME: add mime-type check */ /* FIXME: add mime-type check */
return 0; return 0;
} }