From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id D6348405DB for ; Wed, 27 Apr 2022 11:01:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8076D68B37F; Wed, 27 Apr 2022 14:00:59 +0300 (EEST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6B04568ACBA for ; Wed, 27 Apr 2022 14:00:52 +0300 (EEST) Received: by mail-lf1-f50.google.com with SMTP id w1so2473592lfa.4 for ; Wed, 27 Apr 2022 04:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5Wh4qe00o2R535wPmvUFPrZIBSFAD491eq3YwDafZm4=; b=HTB/7LoXrCTnJC+SKvuBsq4XGuqCwtl+dHbc3wRuh3xPQFKGUiSOTZRfmKEdzCRHV1 HQIxamcpcdgdqmvO/81IuZSyGMawfVZheIGe/XtwddyQj7Ka+GkH7NzvCVDC1IQc/Aio z9UUe2Bp+J5LWSYljGGxrLeA/ZWweQae9zvfwTlYeU9UQ75pdWVETtlwrgQJ/TVBghOh YFV9ppAmLgVrTq5I84/g3H4eaypJ1GffRgBCiakdNB7V4TJNYx/kuFPSLTfegxrTmOwH a5+HAvdoM1MhxHmY79ykJWDvmd0fHX6kyisY1SszXcrCUarYtBTVZh3AIMDNuvjnToJZ N3+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5Wh4qe00o2R535wPmvUFPrZIBSFAD491eq3YwDafZm4=; b=nanjjzFB/sZPAsFpVnuKnEHrbr89ybyHJPKoJ3mtM60evfcz/kh/Hl4r2e37M6leYd Q4T2Psl97QwFHVlpZaE4QjWnauj9fc7djNcLIm2zIS0YhmFVsI97zJTQ8cocJsBzI7i4 JRVr8cF4QURe69g5L0+nFnpjo7q6uW5KfhZpzGE7SXpTSflSWLkPJ4iAODGEWkV4O+Me XPhXIjxhsFHfiP+E3Yj/d6re9dJZtKRKuiQ9WGHNKVZ5RJWAbN8Si9zK4pjYkTYIj/Sx Ao445x1PikhGdKgi/c7fyfLgGpWoo/KqHTPf7Qu269qq+i0DgN6IDwGCKfS5C/mwxs4O xznA== X-Gm-Message-State: AOAM530JXTSaf/yXWgXt6GNmndrcI+6/n+ZtYDntiQ96bm2u8hZ0HUaB C5iruoSJZmO1nCBUGoROjSvXYBJHfvE= X-Google-Smtp-Source: ABdhPJwiMft4NjJYqZCX5hQJQU3j4RUM0ZiMvMnjdSnR6YnCLI6ZkCMR4Ixx8hDCzm90nljJbY5+AA== X-Received: by 2002:a05:6512:3b1:b0:471:f9e9:d8d1 with SMTP id v17-20020a05651203b100b00471f9e9d8d1mr15080059lfp.72.1651057251146; Wed, 27 Apr 2022 04:00:51 -0700 (PDT) Received: from localhost.localdomain ([95.188.97.28]) by smtp.gmail.com with ESMTPSA id a8-20020a19fc08000000b0047203c2d7dcsm1147475lfi.218.2022.04.27.04.00.49 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 27 Apr 2022 04:00:50 -0700 (PDT) From: Ivan Baykalov <4rusxg@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Wed, 27 Apr 2022 18:00:02 +0700 Message-Id: <20220427110002.75021-1-4rusxg@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] libavformat/isom: Add more language mappings X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Ivan Baykalov <4rusxg@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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 --- libavformat/isom.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/isom.c b/libavformat/isom.c index e6569dfb68..2bc240ed5c 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -119,9 +119,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 */ @@ -166,7 +166,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 */ @@ -180,9 +180,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 */ -- 2.35.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".