From e002e3291e6dc7953f843abf56fc14f08f238b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 11 Oct 2012 15:10:45 +0300 Subject: Use the new aes/md5/sha/tree allocation functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavutil/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/tree.c') 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; -- cgit v1.2.3