[MPlayer-dev-eng] [PATCH] Libass BOM fix

Ulion ulion2002 at gmail.com
Sat Oct 27 09:06:51 CEST 2007


Hello,

Some ass/ssa file is utf-16 encoded with a BOM (byte-order marker) as
the beginning of file.
While libass did not handle such file correctly, it will fail to load
such subtitle files.
This patch fixed this problem. The second file is for testing which is
an utf-16 encoded ass file.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ass_bom_fix.diff
Type: text/x-diff
Size: 876 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071027/0f6b3073/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Prison.Break.S03E01.720RE.XVID.DD5.1.F at Silu.ass.gz
Type: application/x-gzip
Size: 25479 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071027/0f6b3073/attachment.bin>


More information about the MPlayer-dev-eng mailing list