[FFmpeg-devel] [PATCH]Change isom language code for dutch to nld

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 18 13:42:07 CET 2014


Hi!

Attached patch intends to fix ticket #3375.
I was able to verify that "nld" is the correct language code following 
ISO-639-2/T:
http://www-01.sil.org/iso639-3/codes.asp?order=639_3&letter=n
I have no idea if mp4 (and mov) prefer ISO-639-2/T over ISO-639-2/B.

Please review, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/isom.c b/libavformat/isom.c
index aec6878..ba63a37 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -323,7 +323,7 @@ const AVCodecTag ff_codec_movsubtitle_tags[] = {
 /* deprecated by putting the code as 3*5bit ascii */
 static const char mov_mdhd_language_map[][4] = {
     /* 0-9 */
-    "eng", "fra", "ger", "ita", "dut", "sve", "spa", "dan", "por", "nor",
+    "eng", "fra", "ger", "ita", "nld", "sve", "spa", "dan", "por", "nor",
     "heb", "jpn", "ara", "fin", "gre", "ice", "mlt", "tur", "hr "/*scr*/, "chi"/*ace?*/,
     "urd", "hin", "tha", "kor", "lit", "pol", "hun", "est", "lav",    "",
     "fo ",    "", "rus", "chi",    "", "iri", "alb", "ron", "ces", "slk",


More information about the ffmpeg-devel mailing list