summaryrefslogtreecommitdiffstats
path: root/libavcodec/proresenc_anatoliy.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-02-28 10:36:16 +0100
committerClément Bœsch <u@pkh.me>2015-03-02 21:27:21 +0100
commit546d69eb43e831bb67a8a0d54a8762a315710c94 (patch)
tree0f25608330566a2abfaa205d06be99b66f9671f0 /libavcodec/proresenc_anatoliy.c
parentcb39fe9336539f7a88c5ac8e2ad6c840338c0306 (diff)
downloadffmpeg-streaming-546d69eb43e831bb67a8a0d54a8762a315710c94.zip
ffmpeg-streaming-546d69eb43e831bb67a8a0d54a8762a315710c94.tar.gz
avcodec: use av_frame_free() for coded_frame
Diffstat (limited to 'libavcodec/proresenc_anatoliy.c')
-rw-r--r--libavcodec/proresenc_anatoliy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
index 801d58e..634ff08 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;
OpenPOWER on IntegriCloud