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 /libavcodec | |
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 'libavcodec')
-rw-r--r-- | libavcodec/flacenc.c | 2 |
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); |