[MPlayer-dev-eng] [PATCH]Fix subcp crash(hopefully)

Arpi arpi at thot.banki.hu
Tue Jan 14 10:40:54 CET 2003


Hi,

> I think the bug is this, I test mplayer with a Chinese subtitle in ssa format, 
> since Chinese charactor use two byte to store one char, maybe half of the 
> Chinese char looks like '{', then it will be eliminated. the other half char 
> remain in subtitle cause iconv crashed. So I change the code to eliminate 

hmm. what about doing { } removal _after_ the iconv conversion?

in packed charsets like UTF8 any random char may be there...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-dev-eng mailing list