1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_drawtext: do not use deprecated av_tree_node_size

This commit is contained in:
Anton Khirnov 2012-11-02 10:56:30 +01:00
parent 0a7a94f2e5
commit b68aac7ea3

View File

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