diff options
Diffstat (limited to 'libavformat/crypto.c')
-rw-r--r-- | libavformat/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |