summaryrefslogtreecommitdiff
path: root/libavutil/tree.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-10-11 15:10:45 +0300
committerMartin Storsjö <martin@martin.st>2012-10-11 23:35:28 +0300
commite002e3291e6dc7953f843abf56fc14f08f238b21 (patch)
tree0792966d2a823bd1dfdca5b3ee078ca794ec1df8 /libavutil/tree.c
parent9a92aea27bad2f5603ca85e0d0716c679a6b686c (diff)
Use the new aes/md5/sha/tree allocation functions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/tree.c')
-rw-r--r--libavutil/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/tree.c b/libavutil/tree.c
index 55dcbc59a7..fd51a74916 100644
--- a/libavutil/tree.c
+++ b/libavutil/tree.c
@@ -220,7 +220,7 @@ int main (void)
}
av_log(NULL, AV_LOG_ERROR, "inserting %4d\n", j);
if (!node)
- node = av_mallocz(av_tree_node_size);
+ node = av_tree_node_alloc();
av_tree_insert(&root, (void *) (j + 1), cmp, &node);
j = av_lfg_get(&prng) % 86294;