summaryrefslogtreecommitdiffstats
path: root/libass/ass_rasterizer_c.c
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2015-10-30 01:13:59 +0200
committerOleg Oshmyan <chortos@inbox.lv>2015-10-30 03:50:53 +0200
commit488070876efea2c28ff3e3945c4568c3d831a254 (patch)
treec3f3a8754c1aaadfed063e7dc91ef1fe0e4a8e3b /libass/ass_rasterizer_c.c
parent5d7093a54ed23d76f9f6f5638a39a40b4640f90d (diff)
downloadlibass-488070876efea2c28ff3e3945c4568c3d831a254.tar.bz2
libass-488070876efea2c28ff3e3945c4568c3d831a254.tar.xz
directwrite: split out the inner loop of scan_fonts as a separate function
This has the side effect that the ASS_FontProviderMetaData instance is now cleared for every font rather than only once at the start of the search, which fixes some use-after-free scenarios and prevents the creation of chimeric fonts using names left over from other fonts processed earlier. This lays the groundwork for further code simplification and error handling improvements within this function, which will come in a separate commit. This commit is transparent to `git blame -w` except for return statements.
Diffstat (limited to 'libass/ass_rasterizer_c.c')
0 files changed, 0 insertions, 0 deletions