diff options
author | Clément Bœsch <u@pkh.me> | 2015-02-28 12:36:16 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-03-02 23:27:21 +0300 |
commit | 546d69eb43e831bb67a8a0d54a8762a315710c94 (patch) | |
tree | 0f25608330566a2abfaa205d06be99b66f9671f0 /libavcodec/libutvideoenc.cpp | |
parent | cb39fe9336539f7a88c5ac8e2ad6c840338c0306 (diff) |
avcodec: use av_frame_free() for coded_frame
Diffstat (limited to 'libavcodec/libutvideoenc.cpp')
-rw-r--r-- | libavcodec/libutvideoenc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp index b430a44d1e..3b88ffffe7 100644 --- a/libavcodec/libutvideoenc.cpp +++ b/libavcodec/libutvideoenc.cpp @@ -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); |