summaryrefslogtreecommitdiff
path: root/libavformat/nut.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 /libavformat/nut.c
parent9a92aea27bad2f5603ca85e0d0716c679a6b686c (diff)
Use the new aes/md5/sha/tree allocation functions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/nut.c')
-rw-r--r--libavformat/nut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c
index 4e46b984b4..6a68e28173 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -116,7 +116,7 @@ int ff_nut_sp_pts_cmp(const Syncpoint *a, const Syncpoint *b){
void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts){
Syncpoint *sp= av_mallocz(sizeof(Syncpoint));
- struct AVTreeNode *node= av_mallocz(av_tree_node_size);
+ struct AVTreeNode *node = av_tree_node_alloc();
sp->pos= pos;
sp->back_ptr= back_ptr;