# HG changeset patch # User stefano # Date 1243464232 0 # Node ID 85e8512e7ec003c0a503e8598bac21ac8bbd2ebb # Parent 72b7219c6337a6f26d9257558df76248a8b2f2b3 Document match_ext(). diff -r 72b7219c6337 -r 85e8512e7ec0 avformat.h --- a/avformat.h Wed May 27 06:58:22 2009 +0000 +++ b/avformat.h Wed May 27 22:43:52 2009 +0000 @@ -1231,6 +1231,12 @@ 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 */