]> granicus.if.org Git - libass/commit
Check for table availability when striking a glyph
authorGrigori Goronzy <greg@blackbox>
Sun, 19 Jul 2009 22:25:27 +0000 (00:25 +0200)
committerGrigori Goronzy <greg@blackbox>
Sun, 19 Jul 2009 22:25:27 +0000 (00:25 +0200)
commit2f74c6713dccee2b14b81a9c21731b83e181f31d
tree2079ef80973ec2644b6b2c2f538237416d25b63c
parent0ba4d4ceb16c1d3d678bcab63506ae6671b87889
Check for table availability when striking a glyph

The glyph striker (underline/strike-through) did not check for table
availability, possibly accessing a NULL pointer.  Change this to
only strike the glyph if the table with the appropriate information
is available.  Currently there is no fallback for fonts without the
required information.
libass/ass_font.c