[MPlayer-dev-eng] [PATCH] array initialization fix in font_load.c
SungKwan Kang
ksquarekr at yahoo.com
Fri Jun 4 08:50:05 CEST 2004
This small patch fixes array initialization bug in
font_load.c.
Number of entries of 'font', 'start', and 'width'
arrays are all 65536
as defined in font_load.h but only the first 512
entries were being
initialized in read_font_desc() function.
This makes problem in displaying 2-bytes characters.
Fixed this by
changing 512 to 65536 in two places. The only file
affected is
main/libvo/font_load.c and I didn't see any side
effects of this
change.
Please review the attached patch file.
Thanks,
ksquarekr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.patch
Type: application/octet-stream
Size: 748 bytes
Desc: diff.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040603/dca39208/attachment.obj>
More information about the MPlayer-dev-eng
mailing list