From e002e3291e6dc7953f843abf56fc14f08f238b21 Mon Sep 17 00:00:00 2001 From: Martin Storsjö 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ö --- libavformat/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/crypto.c') diff --git a/libavformat/crypto.c b/libavformat/crypto.c index 93c9f23f68..3bc33f2bb9 100644 --- a/libavformat/crypto.c +++ b/libavformat/crypto.c @@ -87,7 +87,7 @@ static int crypto_open(URLContext *h, const char *uri, int flags) av_log(h, AV_LOG_ERROR, "Unable to open input\n"); goto err; } - c->aes = av_mallocz(av_aes_size); + c->aes = av_aes_alloc(); if (!c->aes) { ret = AVERROR(ENOMEM); goto err; -- cgit v1.2.3