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

陆然 hephooey at fastmail.fm
Fri Jan 17 17:15:52 CET 2003


Hi,

> Currently only SSA have such a pointer and points to sub_pp_ssa.
> So now the remove is done with UTF-8 as input, as Rich pointed out
> that´s safe because UTF-8 text uses bit 7 on for any character outside
> the ASCII range. It ensures we won´t hit a { that isn´t a real {. I also
> added a check for \, so now what I remove is {\ .... }.

I think you should also check if there is a '}' before eliminate these code.
that will be safe.

-- 
Best Regard,
LR




More information about the MPlayer-dev-eng mailing list