diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-18 04:57:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-18 04:57:00 +0200 |
commit | d5ba19e611b0b25ec249f7db2b99594519db99da (patch) | |
tree | 7e4c8ef94ec6a52b5a8f76c78268d92b6d083070 | |
parent | cd3c85ac5cb2887e0fe0a88139e715066a7392c3 (diff) | |
download | ffmpeg-d5ba19e611b0b25ec249f7db2b99594519db99da.tar.gz |
avcodec/a64multienc use av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/a64multienc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/a64multienc.c b/libavcodec/a64multienc.c index 9760298c24..fc00d3fc62 100644 --- a/libavcodec/a64multienc.c +++ b/libavcodec/a64multienc.c @@ -187,11 +187,11 @@ static av_cold int a64multi_close_encoder(AVCodecContext *avctx) { A64Context *c = avctx->priv_data; av_frame_free(&avctx->coded_frame); - av_free(c->mc_meta_charset); - av_free(c->mc_best_cb); - av_free(c->mc_charset); - av_free(c->mc_charmap); - av_free(c->mc_colram); + av_freep(&c->mc_meta_charset); + av_freep(&c->mc_best_cb); + av_freep(&c->mc_charset); + av_freep(&c->mc_charmap); + av_freep(&c->mc_colram); return 0; } |