diff options
author | Ivan Baykalov <4rusxg@gmail.com> | 2022-04-27 18:00:02 +0700 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-06-07 11:12:05 +0200 |
commit | 58880a8ea8d1aa0497e88f0da4e88455db9ba723 (patch) | |
tree | 2940b4deed5cc46dcfc8127495fca3b005b07af7 /libavformat/isom.c | |
parent | 93505a9095bbacba9b2102a05191e0bc8ba36d4b (diff) | |
download | ffmpeg-58880a8ea8d1aa0497e88f0da4e88455db9ba723.tar.gz |
libavformat/isom: Add more language mappings
mov_mdhd_language_map table doesn't contain ISO 639 codes for some of
the languages. I added a few which have no contradictory mappings
Fixes ticket #9743
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/isom.c')
-rw-r--r-- | libavformat/isom.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/isom.c b/libavformat/isom.c index 0a87d95792..cf27f58082 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -118,9 +118,9 @@ static const char mov_mdhd_language_map[][4] = { "hun", /* 26 Hungarian */ "est", /* 27 Estonian */ "lav", /* 28 Latvian */ - "", /* 29 Sami */ + "smi", /* 29 Sami */ "fo ", /* 30 Faroese */ - "", /* 31 Farsi */ + "per", /* 31 Farsi */ "rus", /* 32 Russian */ "chi", /* 33 Simplified Chinese */ "", /* 34 Flemish */ @@ -165,7 +165,7 @@ static const char mov_mdhd_language_map[][4] = { "kan", /* 73 Kannada */ "tam", /* 74 Tamil */ "tel", /* 75 Telugu */ - "", /* 76 Sinhala */ + "sin", /* 76 Sinhala */ "bur", /* 77 Burmese */ "khm", /* 78 Khmer */ "lao", /* 79 Lao */ @@ -179,9 +179,9 @@ static const char mov_mdhd_language_map[][4] = { "orm", /* 87 Oromo */ "som", /* 88 Somali */ "swa", /* 89 Swahili */ - "", /* 90 Kinyarwanda */ + "kin", /* 90 Kinyarwanda */ "run", /* 91 Rundi */ - "", /* 92 Nyanja */ + "nya", /* 92 Nyanja */ "mlg", /* 93 Malagasy */ "epo", /* 94 Esperanto */ "", /* 95 */ |