OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7a94f
)
vf_drawtext: do not use deprecated av_tree_node_size
author
Anton Khirnov
<anton@khirnov.net>
Fri, 2 Nov 2012 09:56:30 +0000
(10:56 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 2 Nov 2012 17:28:55 +0000
(18:28 +0100)
libavfilter/vf_drawtext.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_drawtext.c
b/libavfilter/vf_drawtext.c
index
ecc789c
..
43a42d8
100644
(file)
--- 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;
}