From 546d69eb43e831bb67a8a0d54a8762a315710c94 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sat, 28 Feb 2015 10:36:16 +0100 Subject: avcodec: use av_frame_free() for coded_frame --- libavcodec/proresenc_anatoliy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/proresenc_anatoliy.c') diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c index 801d58ed7b..634ff08732 100644 --- a/libavcodec/proresenc_anatoliy.c +++ b/libavcodec/proresenc_anatoliy.c @@ -601,7 +601,7 @@ static av_cold int prores_encode_init(AVCodecContext *avctx) static av_cold int prores_encode_close(AVCodecContext *avctx) { ProresContext* ctx = avctx->priv_data; - av_freep(&avctx->coded_frame); + av_frame_free(&avctx->coded_frame); av_freep(&ctx->fill_y); return 0; -- cgit v1.2.3