[FFmpeg-cvslog] avformat/format: Use av_match_name() instead of list in av_match_ext()

Michael Niedermayer git at videolan.org
Thu Oct 23 04:58:58 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 23 04:33:09 2014 +0200| [cebe8c80956845c7ee3464d0fa1dcec78c60f9d6] | committer: Michael Niedermayer

avformat/format: Use av_match_name() instead of list in av_match_ext()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cebe8c80956845c7ee3464d0fa1dcec78c60f9d6
---

 libavformat/format.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/format.c b/libavformat/format.c
index 3b741ea..97f5657 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;
 }
 



More information about the ffmpeg-cvslog mailing list