Mercurial > libavformat.hg
diff avformat.h @ 4969:85e8512e7ec0 libavformat
Document match_ext().
| author | stefano |
|---|---|
| date | Wed, 27 May 2009 22:43:52 +0000 |
| parents | a73454df532f |
| children | 76263311c368 |
line wrap: on
line diff
--- 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 */
