aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-10-11 15:10:45 +0300
committerMartin Storsjö <martin@martin.st>2012-10-11 23:35:28 +0300
commite002e3291e6dc7953f843abf56fc14f08f238b21 (patch)
tree0792966d2a823bd1dfdca5b3ee078ca794ec1df8 /libavcodec
parent9a92aea27bad2f5603ca85e0d0716c679a6b686c (diff)
downloadffmpeg-e002e3291e6dc7953f843abf56fc14f08f238b21.tar.gz
Use the new aes/md5/sha/tree allocation functions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/flacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 122d485631..b135e4a4e5 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -354,7 +354,7 @@ static av_cold int flac_encode_init(AVCodecContext *avctx)
s->channels, 16);
/* initialize MD5 context */
- s->md5ctx = av_malloc(av_md5_size);
+ s->md5ctx = av_md5_alloc();
if (!s->md5ctx)
return AVERROR(ENOMEM);
av_md5_init(s->md5ctx);