Skip to content

Commit

Permalink
avformat/mpegts: fix charset of type 0x11
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cus committed Feb 13, 2019
1 parent bf78aa9 commit dd6dd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/mpegts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dd6dd49

Please sign in to comment.