Commit d9118232 authored by stefano's avatar stefano

Make av_match_ext() declaration public (move its declaration out of

 the #ifdef HAVE_AV_CONFIG_H block in avformat.h).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22748 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 49555f78
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#define AVFORMAT_AVFORMAT_H #define AVFORMAT_AVFORMAT_H
#define LIBAVFORMAT_VERSION_MAJOR 52 #define LIBAVFORMAT_VERSION_MAJOR 52
#define LIBAVFORMAT_VERSION_MINOR 59 #define LIBAVFORMAT_VERSION_MINOR 60
#define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_MICRO 0
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
...@@ -1327,6 +1327,14 @@ int av_filename_number_test(const char *filename); ...@@ -1327,6 +1327,14 @@ int av_filename_number_test(const char *filename);
*/ */
int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size); 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 #ifdef HAVE_AV_CONFIG_H
void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem); void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem);
...@@ -1351,14 +1359,6 @@ struct tm *brktimegm(time_t secs, struct tm *tm); ...@@ -1351,14 +1359,6 @@ struct tm *brktimegm(time_t secs, struct tm *tm);
const char *small_strptime(const char *p, const char *fmt, const char *small_strptime(const char *p, const char *fmt,
struct tm *dt); 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 /* HAVE_AV_CONFIG_H */
#endif /* AVFORMAT_AVFORMAT_H */ #endif /* AVFORMAT_AVFORMAT_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment