diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-01 23:50:10 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-01 23:50:10 +0000 |
commit | 8eb631fa50868e2d14e97d396711ced859fef515 (patch) | |
tree | 7bab31ea4424a4a2928535d4789e0a6ef569cc23 /libavformat/utils.c | |
parent | 24b207b5a5583bb90ff1f1afe58a8305dee1069c (diff) | |
download | ffmpeg-8eb631fa50868e2d14e97d396711ced859fef515.tar.gz |
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
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a4c7219e1e..316986cfde 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -137,8 +137,15 @@ 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; |