• Marth64's avatar
    avformat/avlanguage: add the 6 deprecated DVD languages · 01388936
    Marth64 authored
    There are 6 deprecated ISO language codes that are still valid for DVDs.
    This patch allows avlanguage to recognize them correctly. The codes are:
    (1) "in" - legacy code for Indonesian, mapped to the modern code
    (2) "iw" - legacy code for Hebrew, mapped to the modern code
    (3) "ji" - legacy code for Yiddish, mapped to the modern code
    (4) "jw" - legacy code for Javanese, published and used as a typoed version of "jv"
    (5) "mo" - legacy code for Moldavian, mapped to the inclusive code
    (6) "sh" - legacy code for Serbo-Croatian, no modern inclusive code so it is left alone
    
    All of this can be verified from several sources including:
    https://en.wikipedia.org/wiki/List_of_ISO_639_language_codesSigned-off-by: 's avatarMarth64 <marth64@proxyid.net>
    01388936
avlanguage.c 22.9 KB