You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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
This commit is contained in:
@@ -1392,13 +1392,6 @@ int ff_url_join(char *str, int size, const char *proto,
|
|||||||
const char *authorization, const char *hostname,
|
const char *authorization, const char *hostname,
|
||||||
int port, const char *fmt, ...);
|
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
|
* Returns a positive value if the given filename has one of the given
|
||||||
* extensions, 0 otherwise.
|
* extensions, 0 otherwise.
|
||||||
|
@@ -142,13 +142,6 @@ void av_register_output_format(AVOutputFormat *format)
|
|||||||
format->next = NULL;
|
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)
|
int av_match_ext(const char *filename, const char *extensions)
|
||||||
{
|
{
|
||||||
const char *ext, *p;
|
const char *ext, *p;
|
||||||
|
Reference in New Issue
Block a user