diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2015-05-23 13:21:41 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:41 +0200 |
commit | 3ea82cd452b43ae74d11a9af6fa9b55faaa0e576 (patch) | |
tree | bea539be87b3a1bd79c06d54b6fe3cfb5f874e67 /libass/ass_directwrite.cpp | |
parent | e65d7bb948d3a25a7d73bcfb3b9a799425c0319a (diff) | |
download | libass-3ea82cd452b43ae74d11a9af6fa9b55faaa0e576.tar.bz2 libass-3ea82cd452b43ae74d11a9af6fa9b55faaa0e576.tar.xz |
directwrite: use standard malloc
Diffstat (limited to 'libass/ass_directwrite.cpp')
-rw-r--r-- | libass/ass_directwrite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_directwrite.cpp b/libass/ass_directwrite.cpp index 415afef..16ac8d7 100644 --- a/libass/ass_directwrite.cpp +++ b/libass/ass_directwrite.cpp @@ -210,7 +210,7 @@ static void scan_fonts(IDWriteFactory *factory, ASS_FontProvider *provider) return; size_needed = WideCharToMultiByte(CP_UTF8, 0, localeName, -1, NULL, 0, NULL, NULL); - psName = (char*)ass_aligned_alloc(32, size_needed); + psName = (char*)malloc(size_needed); WideCharToMultiByte(CP_UTF8, 0, localeName, -1, psName, size_needed, NULL, NULL); } |