diff options
author | James Almer <jamrial@gmail.com> | 2016-05-14 00:03:28 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-07-20 03:43:14 +0300 |
commit | 1582e306a47977b09fddb029b999f99eb03cd485 (patch) | |
tree | 501e8160ad475e6590b97fe6d7879b7d0538f5de /libavformat/avlanguage.h | |
parent | b3820cabad87c4df7bce82f7aacd2c5c54fd1252 (diff) |
avformat/avlanguage: make av_convert_lang_to() internal
The header was never installed and the function is only used in libavformat
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/avlanguage.h')
-rw-r--r-- | libavformat/avlanguage.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avlanguage.h b/libavformat/avlanguage.h index 84bef58ab8..1d72dcb3cb 100644 --- a/libavformat/avlanguage.h +++ b/libavformat/avlanguage.h @@ -21,6 +21,9 @@ #ifndef AVFORMAT_AVLANGUAGE_H #define AVFORMAT_AVLANGUAGE_H +#include "libavutil/attributes.h" +#include "libavformat/version.h" + /** * Known language codespaces */ @@ -34,6 +37,10 @@ enum AVLangCodespace { * Convert a language code to a target codespace. The source codespace is guessed. * @return NULL if the provided lang is null or invalid. */ +const char *ff_convert_lang_to(const char *lang, enum AVLangCodespace target_codespace); +#if LIBAVFORMAT_VERSION_MAJOR < 58 +attribute_deprecated const char *av_convert_lang_to(const char *lang, enum AVLangCodespace target_codespace); +#endif #endif /* AVFORMAT_AVLANGUAGE_H */ |