file extension based probe is max/2
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Apr 2007 11:37:43 +0000 (11:37 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Apr 2007 11:37:43 +0000 (11:37 +0000)
Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/nsvdec.c

index f751f60..a8fbca1 100644 (file)
@@ -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;
 }