[Mplayer-dev-eng] Subtitles spliting

Sunjin Yang lethean at realtime.ssu.ac.kr
Tue May 15 01:32:59 CEST 2001


Vlada wrote:

> Hi,
>  
> I have attached the long subtitles spliting patch as I promised.
> 
> Vlada
> 
> subs.patch
> 
> Content-Type:
> 
> application/octet-stream
> Content-Encoding:
> 
> base64
> 
> 

Good for you... :)

But there is a petty bug for handling two-byte characters in sub.c line 167:

   if (sub_unicode && (c>=0x80)) c=(c<<8)+text[++j];

The variable 'j' should be 'k' here like below:

  if (sub_unicode && (c>=0x80)) c=(c<<8)+text[++k];


Thanks in advance.

-- 

Make your life extraordinary & Carpediem... :)

Sunjin Yang
lethean at realtime.ssu.ac.kr
http://realtime.ssu.ac.kr/~lethean/
icq#:38671355


_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list