diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-10 00:52:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-10 01:11:32 +0100 |
commit | 7102083a26f77b316b78d985c6b86f6d955910b9 (patch) | |
tree | 26e2f1fc7f8747b06f6930a5b01fc35cdc6a457d /libavcodec | |
parent | 4c1b4ae1baf77df7150fa8cbcece8057a261e47d (diff) | |
download | ffmpeg-7102083a26f77b316b78d985c6b86f6d955910b9.tar.gz |
avcodec/libutvideodec: free coded_frame with av_frame_free() instead if av_free*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libutvideodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libutvideodec.cpp b/libavcodec/libutvideodec.cpp index 8e6b69175d..60dbd15fa8 100644 --- a/libavcodec/libutvideodec.cpp +++ b/libavcodec/libutvideodec.cpp @@ -174,7 +174,7 @@ static av_cold int utvideo_decode_close(AVCodecContext *avctx) UtVideoContext *utv = (UtVideoContext *)avctx->priv_data; /* Free output */ - av_freep(&avctx->coded_frame); + av_frame_free(&avctx->coded_frame); av_freep(&utv->buffer); /* Finish decoding and clean up the instance */ |