diff options
author | Clément Bœsch <u@pkh.me> | 2015-02-28 10:36:16 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-03-02 21:27:21 +0100 |
commit | 546d69eb43e831bb67a8a0d54a8762a315710c94 (patch) | |
tree | 0f25608330566a2abfaa205d06be99b66f9671f0 /libavcodec/v410enc.c | |
parent | cb39fe9336539f7a88c5ac8e2ad6c840338c0306 (diff) | |
download | ffmpeg-546d69eb43e831bb67a8a0d54a8762a315710c94.tar.gz |
avcodec: use av_frame_free() for coded_frame
Diffstat (limited to 'libavcodec/v410enc.c')
-rw-r--r-- | libavcodec/v410enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c index 0e2e82a7f9..f2f7d7349b 100644 --- a/libavcodec/v410enc.c +++ b/libavcodec/v410enc.c @@ -81,7 +81,7 @@ static int v410_encode_frame(AVCodecContext *avctx, AVPacket *pkt, static av_cold int v410_encode_close(AVCodecContext *avctx) { - av_freep(&avctx->coded_frame); + av_frame_free(&avctx->coded_frame); return 0; } |