avcodec: use av_frame_free() for coded_frame

This commit is contained in:
Clément Bœsch
2015-02-28 10:36:16 +01:00
parent cb39fe9336
commit 546d69eb43
15 changed files with 16 additions and 16 deletions

View File

@@ -209,7 +209,7 @@ static av_cold int utvideo_encode_close(AVCodecContext *avctx)
{
UtVideoContext *utv = (UtVideoContext *)avctx->priv_data;
av_freep(&avctx->coded_frame);
av_frame_free(&avctx->coded_frame);
av_freep(&avctx->extradata);
av_freep(&utv->buffer);