diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-11-02 10:56:30 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-11-02 18:28:55 +0100 |
commit | b68aac7ea34ec92321508f7365b5f2813766be79 (patch) | |
tree | 76d4280ac32b9d1a7b7b59f5952147a4155de493 /libavfilter | |
parent | 0a7a94f2e53bcdb8ac5857eb8c67c16f6f1d0f2f (diff) | |
download | ffmpeg-b68aac7ea34ec92321508f7365b5f2813766be79.tar.gz |
vf_drawtext: do not use deprecated av_tree_node_size
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_drawtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index ecc789c7f7..43a42d8e26 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -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; } |