[MPlayer-dev-eng] Re: [mlayer-users]GDB info of the subcp crash

陆然 hephooey at fastmail.fm
Mon Jan 13 01:59:38 CET 2003


Hi,
I forgot to say that the problem is a ssa subtitle bug. Other subtitles should 
not make mplayer crash.
On Monday 13 January 2003 08:43, 陆然 wrote:
> Hi,
> I find the problem, it's not a sub sort bug, the problem is here:
>
> /* eliminate any text enclosed with {}, they are font and color settings */
>         so=de=line2;
>         while (*so) {
>                 if(*so == '{') {
>                         for (; *so && *so!='}'; *so++);
>                         if(*so) so++;
>                 }
>                 if(*so) {
>                         *de=*so;
>                         so++; de++;
>                 }
>         }
>         *de=*so;
>
> after I commented them out everything goes well. So these code should have
> some problems cause iconv crashed. but if iconv is not used, these code
> seems work well.

-- 
Best Regard,
LR




More information about the MPlayer-dev-eng mailing list