... | ... |
@@ -263,7 +263,7 @@ static int load_glyph(AVFilterContext *ctx, Glyph **glyph_ptr, uint32_t code) |
263 | 263 |
FT_Glyph_Get_CBox(*glyph->glyph, ft_glyph_bbox_pixels, &glyph->bbox); |
264 | 264 |
|
265 | 265 |
/* cache the newly created glyph */ |
266 |
- if (!(node = av_mallocz(av_tree_node_size))) { |
|
266 |
+ if (!(node = av_tree_node_alloc())) { |
|
267 | 267 |
ret = AVERROR(ENOMEM); |
268 | 268 |
goto error; |
269 | 269 |
} |