summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-05-27 22:43:52 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-05-27 22:43:52 +0000
commita33031789032af595a283bdf947009c598eaffe1 (patch)
tree6273c2aefb8c7119db84b3c798750ef321c5e240 /libavformat/avformat.h
parent2ed16f308a84f1df911d9dea3c76a9c5ba84fced (diff)
Document match_ext().
Originally committed as revision 18971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 5c4ddd93d0..30caea3235 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1231,6 +1231,12 @@ void url_split(char *proto, int proto_size,
char *path, int path_size,
const char *url);
+/**
+ * Returns a positive value if the given filename has one of the given
+ * extensions, 0 otherwise.
+ *
+ * @param extensions a comma-separated list of filename extensions
+ */
int match_ext(const char *filename, const char *extensions);
#endif /* HAVE_AV_CONFIG_H */