]> git.sesse.net Git - ffmpeg/commitdiff
avformat/mpegts: fix charset of type 0x11
authorMarton Balint <cus@passwd.hu>
Sat, 9 Feb 2019 23:25:05 +0000 (00:25 +0100)
committerMarton Balint <cus@passwd.hu>
Wed, 13 Feb 2019 21:01:39 +0000 (22:01 +0100)
ISO-10646 alone means UCS-4 for iconv, the specs refers to the Basic
Multilingual Plane (BMP), therefore we need UCS-2. VLC also using that.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mpegts.c

index b347ec1736ffb24e371dfeb8f7da3cda3c5a2670..2594b1eeb133b0bb9214034d5bac6e7156261a7b 100644 (file)
@@ -683,7 +683,7 @@ static char *getstr8(const uint8_t **pp, const uint8_t *p_end)
             "ISO6937", "ISO-8859-5", "ISO-8859-6", "ISO-8859-7",
             "ISO-8859-8", "ISO-8859-9", "ISO-8859-10", "ISO-8859-11",
             "", "ISO-8859-13", "ISO-8859-14", "ISO-8859-15", "", "", "", "",
-            "", "ISO-10646", "KSC_5601", "GB2312", "UCS-2BE", "UTF-8", "", "",
+            "", "UCS-2BE", "KSC_5601", "GB2312", "UCS-2BE", "UTF-8", "", "",
             "", "", "", "", "", "", "", ""
         };
         iconv_t cd;