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 f751f605d39c21d52fbb958e8f590b3a95d2924d..a8fbca180d04e97cca6876c94ed4efff9196eba3 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;
 }