[FFmpeg-cvslog] r22353 - in trunk/libavformat: avformat.h utils.c

stefano subversion
Tue Mar 9 00:51:53 CET 2010


Author: stefano
Date: Tue Mar  9 00:51:53 2010
New Revision: 22353

Log:
Remove definition of match_ext(), which is declared under #ifdef
AV_HAVE_AVCONFIG and so not publicly declared, and currently unused.

Modified:
   trunk/libavformat/avformat.h
   trunk/libavformat/utils.c

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Tue Mar  9 00:46:19 2010	(r22352)
+++ trunk/libavformat/avformat.h	Tue Mar  9 00:51:53 2010	(r22353)
@@ -1392,13 +1392,6 @@ int ff_url_join(char *str, int size, con
                 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.

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Tue Mar  9 00:46:19 2010	(r22352)
+++ trunk/libavformat/utils.c	Tue Mar  9 00:51:53 2010	(r22353)
@@ -142,13 +142,6 @@ void av_register_output_format(AVOutputF
     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;



More information about the ffmpeg-cvslog mailing list