changeset 5915:4cc7fc1878b4 libavformat

Make av_match_ext() declaration public (move its declaration out of the #ifdef HAVE_AV_CONFIG_H block in avformat.h).
author stefano
date Wed, 31 Mar 2010 19:03:03 +0000
parents ae90b07a6f29
children 1fec9e2cd5c5
files avformat.h
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Wed Mar 31 12:55:16 2010 +0000
+++ b/avformat.h	Wed Mar 31 19:03:03 2010 +0000
@@ -22,7 +22,7 @@
 #define AVFORMAT_AVFORMAT_H
 
 #define LIBAVFORMAT_VERSION_MAJOR 52
-#define LIBAVFORMAT_VERSION_MINOR 59
+#define LIBAVFORMAT_VERSION_MINOR 60
 #define LIBAVFORMAT_VERSION_MICRO  0
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
@@ -1327,6 +1327,14 @@
  */
 int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size);
 
+/**
+ * Returns a positive value if the given filename has one of the given
+ * extensions, 0 otherwise.
+ *
+ * @param extensions a comma-separated list of filename extensions
+ */
+int av_match_ext(const char *filename, const char *extensions);
+
 #ifdef HAVE_AV_CONFIG_H
 
 void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem);
@@ -1351,14 +1359,6 @@
 const char *small_strptime(const char *p, const char *fmt,
                            struct tm *dt);
 
-/**
- * Returns a positive value if the given filename has one of the given
- * extensions, 0 otherwise.
- *
- * @param extensions a comma-separated list of filename extensions
- */
-int av_match_ext(const char *filename, const char *extensions);
-
 #endif /* HAVE_AV_CONFIG_H */
 
 #endif /* AVFORMAT_AVFORMAT_H */