summaryrefslogtreecommitdiffstats
path: root/libavcodec/r210enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/r210enc.c')
-rw-r--r--libavcodec/r210enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/r210enc.c b/libavcodec/r210enc.c
index 07dfc50..b7d5a07 100644
--- a/libavcodec/r210enc.c
+++ b/libavcodec/r210enc.c
@@ -80,7 +80,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static av_cold int encode_close(AVCodecContext *avctx)
{
- av_freep(&avctx->coded_frame);
+ av_frame_free(&avctx->coded_frame);
return 0;
}
OpenPOWER on IntegriCloud