aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-08 23:51:53 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-08 23:51:53 +0000
commitf4495cdc00d7ff5d23255fc333de5881151121e7 (patch)
tree2fdb98020be2354b220d8c646a2f4749f2104a73 /libavformat
parent7082ea56c8dca13807d9b5fa77f9469941d38da9 (diff)
downloadffmpeg-f4495cdc00d7ff5d23255fc333de5881151121e7.tar.gz
Remove definition of match_ext(), which is declared under #ifdef
HAVE_AV_CONFIG_H and so not publicly declared, and currently unused. Originally committed as revision 22353 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avformat.h7
-rw-r--r--libavformat/utils.c7
2 files changed, 0 insertions, 14 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index eda556e986..10371a48c2 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1392,13 +1392,6 @@ int ff_url_join(char *str, int size, const char *proto,
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 --git a/libavformat/utils.c b/libavformat/utils.c
index 454fdc2837..86bae7b357 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -142,13 +142,6 @@ void av_register_output_format(AVOutputFormat *format)
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;