changeset 5785:2e42bb81d80b libavformat

Remove definition of match_ext(), which is declared under #ifdef HAVE_AV_CONFIG_H and so not publicly declared, and currently unused.
author stefano
date Mon, 08 Mar 2010 23:51:53 +0000
parents 28885ab1ef1c
children 7d670040187e
files avformat.h utils.c
diffstat 2 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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;