mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-04 15:10:39 +00:00
file extension based probe is max/2
Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user