[FFmpeg-devel] [PATCH] avformat/avlanguage: add the 6 deprecated DVD languages

Stefano Sabatini stefasab at gmail.com
Mon Jan 29 00:27:10 EET 2024


On date Tuesday 2024-01-23 20:03:19 -0600, Marth64 wrote:
> 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_codes
> 
> I split this off from the DVD demuxer patch to simplify it a bit.
> Sent with git send-email and passes fate, pls let me know if there are issues.
> 
> Thank you,
> 
> Signed-off-by: Marth64 <marth64 at proxyid.net>
> ---
>  libavformat/avlanguage.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

LGTM, will apply in a few days if I see no comments.


More information about the ffmpeg-devel mailing list