diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2015-10-30 01:13:59 +0200 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2015-10-30 03:50:53 +0200 |
commit | 488070876efea2c28ff3e3945c4568c3d831a254 (patch) | |
tree | c3f3a8754c1aaadfed063e7dc91ef1fe0e4a8e3b /m4/.gitignore | |
parent | 5d7093a54ed23d76f9f6f5638a39a40b4640f90d (diff) | |
download | libass-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 'm4/.gitignore')
0 files changed, 0 insertions, 0 deletions