]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/crypto.c
pixfmt: support more yuva formats
[ffmpeg] / libavformat / crypto.c
index 93c9f23f682cab7c0c31a9ff83c9d64ee6557575..3bc33f2bb9dd980d5b976431f724a475f46b2d70 100644 (file)
@@ -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;