summaryrefslogtreecommitdiff
path: root/libavformat/nsvdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-17 15:57:51 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-17 15:57:51 +0000
commitade5b91ddade9abaf9eb1063559985341ee9ca2d (patch)
tree9f86bd5e7dc9f14746bf1496523f956dc5c670fe /libavformat/nsvdec.c
parent9a180390b9982713afa1b90934b588478b58a451 (diff)
downloadffmpeg-ade5b91ddade9abaf9eb1063559985341ee9ca2d.tar.gz
Use av_match_ext() rather than the deprecated match_ext(), fix
warnings. Originally committed as revision 21263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nsvdec.c')
-rw-r--r--libavformat/nsvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 9c215cd58f..13f7374ae4 100644
--- a/libavformat/nsvdec.c
+++ b/libavformat/nsvdec.c
@@ -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;