]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/crypto.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / crypto.c
index 06c687e3fc36538f77a270ec733695b91b973850..5d518beb01191508ed91e2841d7bde652a0f3541 100644 (file)
@@ -87,7 +87,7 @@ static int crypto_open2(URLContext *h, const char *uri, int flags, AVDictionary
         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;