# HG changeset patch # User stefano # Date 1268092313 0 # Node ID 2e42bb81d80b4a5f8112047b4063a575ec8ad468 # Parent 28885ab1ef1c118c150ef155912384020c031ccf Remove definition of match_ext(), which is declared under #ifdef HAVE_AV_CONFIG_H and so not publicly declared, and currently unused. diff -r 28885ab1ef1c -r 2e42bb81d80b avformat.h --- a/avformat.h Mon Mar 08 23:46:19 2010 +0000 +++ b/avformat.h Mon Mar 08 23:51:53 2010 +0000 @@ -1392,13 +1392,6 @@ const char *authorization, const char *hostname, int port, const char *fmt, ...); -#if LIBAVFORMAT_VERSION_MAJOR < 53 -/** - * @deprecated Use av_match_ext() instead. - */ -attribute_deprecated int match_ext(const char *filename, const char *extensions); -#endif - /** * Returns a positive value if the given filename has one of the given * extensions, 0 otherwise. diff -r 28885ab1ef1c -r 2e42bb81d80b utils.c --- a/utils.c Mon Mar 08 23:46:19 2010 +0000 +++ b/utils.c Mon Mar 08 23:51:53 2010 +0000 @@ -142,13 +142,6 @@ 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;