Browse Source

Document match_ext().

Originally committed as revision 18971 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Stefano Sabatini 16 years ago
parent
commit
a330317890
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavformat/avformat.h

+ 6
- 0
libavformat/avformat.h View File

@@ -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 */


Loading…
Cancel
Save