From cebe8c80956845c7ee3464d0fa1dcec78c60f9d6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 23 Oct 2014 04:33:09 +0200 Subject: [PATCH] avformat/format: Use av_match_name() instead of list in av_match_ext() Signed-off-by: Michael Niedermayer --- libavformat/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/format.c b/libavformat/format.c index 3b741ea938..97f5657141 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -87,7 +87,7 @@ int av_match_ext(const char *filename, const char *extensions) ext = strrchr(filename, '.'); if (ext) - return av_match_list(ext + 1, extensions, ','); + return av_match_name(ext + 1, extensions); return 0; }