diff nsvdec.c @ 5556:c35e1d2373c7 libavformat

Use av_match_ext() rather than the deprecated match_ext(), fix warnings.
author stefano
date Sun, 17 Jan 2010 15:57:51 +0000
parents 0d5653941bf9
children 192d6ebe32ff
line wrap: on
line diff
--- a/nsvdec.c	Sun Jan 17 13:39:34 2010 +0000
+++ b/nsvdec.c	Sun Jan 17 15:57:51 2010 +0000
@@ -764,7 +764,7 @@
             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;