Deprecate match_ext() in favor of av_match_ext(), and mark it for

deletion at the next major bump.

Originally committed as revision 20998 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-01-01 23:50:10 +00:00
parent 24b207b5a5
commit 8eb631fa50
2 changed files with 16 additions and 2 deletions

View file

@ -137,7 +137,14 @@ 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;
char ext1[32], *q;