summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-01 14:43:28 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-01 14:43:28 +0000
commit28f5233b36ea14ce9470cdc20a3bcc5908941e4b (patch)
treed92c9ed923b9ce27898579aef7cdda5f78fa9715 /mplayer.c
parenta2be6012e5349ce81ed0b779abf650600e346185 (diff)
downloadmpv-28f5233b36ea14ce9470cdc20a3bcc5908941e4b.tar.bz2
mpv-28f5233b36ea14ce9470cdc20a3bcc5908941e4b.tar.xz
Current mplayer (mine is mplayer-1.0-pre1cvs20031001) cannot play mms
stream with multibyte characters in the url. There is a bug in string_utf16() of libmpdemux/asf_mmst_streaming.c: the url encoding code is written for single-byte character only. It just fill a zero byte between every two adjacent bytes of the url string. This is wrong when the url string contains multi-byte characters. My patch is in the attachment, and has been tested working. It uses iconv() to convert the url's encoding to utf-16 correctly. So can this patch be accepted and commit into CVS? patch by Wang WenRui <wangwr@mail.ustc.edu.cn> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11351 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
0 files changed, 0 insertions, 0 deletions