diff options
author | James Almer <jamrial@gmail.com> | 2016-05-13 18:03:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-07-19 21:43:14 -0300 |
commit | 1582e306a47977b09fddb029b999f99eb03cd485 (patch) | |
tree | 501e8160ad475e6590b97fe6d7879b7d0538f5de /libavformat/asfdec_o.c | |
parent | b3820cabad87c4df7bce82f7aacd2c5c54fd1252 (diff) | |
download | ffmpeg-1582e306a47977b09fddb029b999f99eb03cd485.tar.gz |
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/asfdec_o.c')
-rw-r--r-- | libavformat/asfdec_o.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c index 9eefa5afa5..56f8446b5f 100644 --- a/libavformat/asfdec_o.c +++ b/libavformat/asfdec_o.c @@ -828,7 +828,7 @@ static void set_language(AVFormatContext *s, const char *rfc1766, AVDictionary * // language abbr should contain at least 2 chars if (rfc1766 && strlen(rfc1766) > 1) { const char primary_tag[3] = { rfc1766[0], rfc1766[1], '\0' }; // ignore country code if any - const char *iso6392 = av_convert_lang_to(primary_tag, + const char *iso6392 = ff_convert_lang_to(primary_tag, AV_LANG_ISO639_2_BIBL); if (iso6392) if (av_dict_set(met, "language", iso6392, 0) < 0) |