diff options
author | wm4 <wm4@nowhere> | 2014-01-29 18:11:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-02 20:02:40 +0100 |
commit | da4af2b6d86491536b0999f5b731c30b13ff0ac9 (patch) | |
tree | 9b941ab8dba74b2804993fe1bd7aa2fe9063926d /libass/ass_bitmap.h | |
parent | 7514642f2575fd58c4f4809d74a0099f22d256f0 (diff) | |
download | libass-da4af2b6d86491536b0999f5b731c30b13ff0ac9.tar.bz2 libass-da4af2b6d86491536b0999f5b731c30b13ff0ac9.tar.xz |
Use a function for aligned memory allocations
...instead of doing this manually.
Diffstat (limited to 'libass/ass_bitmap.h')
-rw-r--r-- | libass/ass_bitmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h index b51c1bfe..b05e1120 100644 --- a/libass/ass_bitmap.h +++ b/libass/ass_bitmap.h @@ -26,7 +26,7 @@ typedef struct ass_synth_priv { int tmp_w, tmp_h; - unsigned *tmp; + void *tmp; int g_r; int g_w; @@ -46,7 +46,6 @@ typedef struct { int w, h; // width, height int stride; unsigned char *buffer; // h * stride buffer - unsigned char *buffer_ptr; // unaligned pointer (for free()) } Bitmap; Bitmap *outline_to_bitmap(ASS_Library *library, FT_Library ftlib, |