Mercurial > libavformat.hg
diff utils.c @ 5489:611a8e6209be libavformat
Deprecate match_ext() in favor of av_match_ext(), and mark it for
deletion at the next major bump.
author | stefano |
---|---|
date | Fri, 01 Jan 2010 23:50:10 +0000 |
parents | 033545e4dfd0 |
children | 38093ab40afe |
line wrap: on
line diff
--- a/utils.c Fri Jan 01 12:58:03 2010 +0000 +++ b/utils.c Fri Jan 01 23:50:10 2010 +0000 @@ -137,8 +137,15 @@ format->next = NULL; } +#if LIBAVFORMAT_VERSION_MAJOR < 53 int match_ext(const char *filename, const char *extensions) { + return av_match_ext(filename, extensions); +} +#endif + +int av_match_ext(const char *filename, const char *extensions) +{ const char *ext, *p; char ext1[32], *q;