diff options
author | Martin Storsjö <martin@martin.st> | 2012-10-11 15:10:45 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-11 23:35:28 +0300 |
commit | e002e3291e6dc7953f843abf56fc14f08f238b21 (patch) | |
tree | 0792966d2a823bd1dfdca5b3ee078ca794ec1df8 /libavformat/mxfdec.c | |
parent | 9a92aea27bad2f5603ca85e0d0716c679a6b686c (diff) | |
download | ffmpeg-e002e3291e6dc7953f843abf56fc14f08f238b21.tar.gz |
Use the new aes/md5/sha/tree allocation functions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 25d18f4829..8595d72083 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -340,7 +340,7 @@ static int mxf_decrypt_triplet(AVFormatContext *s, AVPacket *pkt, KLVPacket *klv int index; if (!mxf->aesc && s->key && s->keylen == 16) { - mxf->aesc = av_malloc(av_aes_size); + mxf->aesc = av_aes_alloc(); if (!mxf->aesc) return AVERROR(ENOMEM); av_aes_init(mxf->aesc, s->key, 128, 1); |