# HG changeset patch # User diego # Date 1138098794 0 # Node ID 844bc9093aa3a9a60fc7d37191506609b0befa6c # Parent 343ddd5b793c0b054c82d426eb8aa7c36c217a4b Remove all stray tabs and trailing whitespace, this time for good. diff -r 343ddd5b793c -r 844bc9093aa3 mov.c --- a/mov.c Tue Jan 24 08:03:42 2006 +0000 +++ b/mov.c Tue Jan 24 10:33:14 2006 +0000 @@ -153,24 +153,24 @@ /* cf. QTFileFormat.pdf p253, qtff.pdf p205 */ /* http://developer.apple.com/documentation/mac/Text/Text-368.html */ /* deprecated by putting the code as 3*5bit ascii */ -static const char *mov_mdhd_language_map[] = { +static const char *mov_mdhd_language_map[] = { /* 0-9 */ -"eng", "fra", "ger", "ita", "dut", "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", NULL, -"fo ", NULL, "rus", "chi", NULL, "iri", "alb", "ron", "ces", "slk", +"eng", "fra", "ger", "ita", "dut", "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", NULL, +"fo ", NULL, "rus", "chi", NULL, "iri", "alb", "ron", "ces", "slk", "slv", "yid", "sr ", "mac", "bul", "ukr", "bel", "uzb", "kaz", "aze", -/*?*/ +/*?*/ "aze", "arm", "geo", "mol", "kir", "tgk", "tuk", "mon", NULL, "pus", "kur", "kas", "snd", "tib", "nep", "san", "mar", "ben", "asm", "guj", "pa ", "ori", "mal", "kan", "tam", "tel", NULL, "bur", "khm", "lao", /* roman? arabic? */ "vie", "ind", "tgl", "may", "may", "amh", "tir", "orm", "som", "swa", /*==rundi?*/ - NULL, "run", NULL, "mlg", "epo", NULL, NULL, NULL, NULL, NULL, + NULL, "run", NULL, "mlg", "epo", NULL, NULL, NULL, NULL, NULL, /* 100 */ - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "wel", "baq", "cat", "lat", "que", "grn", "aym", "tat", "uig", "dzo", "jav" }; @@ -380,7 +380,7 @@ int ff_mov_iso639_to_lang(const char *lang, int mp4) { int i, code = 0; - + /* old way, only for QT? */ for (i = 0; !mp4 && (i < (sizeof(mov_mdhd_language_map)/sizeof(char *))); i++) { if (mov_mdhd_language_map[i] && !strcmp(lang, mov_mdhd_language_map[i]))