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

陆然 hephooey at fastmail.fm
Tue Jan 14 10:07:44 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 
"{}" only when both { and } was found. Here is the patch, I tested it with my 
subtitle and the bug seems have been fixed.

-- 
Best Regard,
LR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.log
Type: text/x-log
Size: 504 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030114/6c77ffb2/attachment.bin>


More information about the MPlayer-dev-eng mailing list