aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nsvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-04-08 11:37:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-04-08 11:37:43 +0000
commitac5565d88c0d503c962cbb958298a2cd1203cd90 (patch)
treea44554624ba091039fe65b881097baeaddfd8cea /libavformat/nsvdec.c
parent65a00bd65a3619faf5c5fabbdb4029b36c045483 (diff)
downloadffmpeg-ac5565d88c0d503c962cbb958298a2cd1203cd90.tar.gz
file extension based probe is max/2
Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nsvdec.c')
-rw-r--r--libavformat/nsvdec.c2
1 files changed, 1 insertions, 1 deletions
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;
}