mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
Use av_match_ext() rather than the deprecated match_ext(), fix
warnings. Originally committed as revision 21263 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -764,7 +764,7 @@ static int nsv_probe(AVProbeData *p)
|
||||
return AVPROBE_SCORE_MAX-20;
|
||||
}
|
||||
/* so we'll have more luck on extension... */
|
||||
if (match_ext(p->filename, "nsv"))
|
||||
if (av_match_ext(p->filename, "nsv"))
|
||||
return AVPROBE_SCORE_MAX/2;
|
||||
/* FIXME: add mime-type check */
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user