Commit 7102083a authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/libutvideodec: free coded_frame with av_frame_free() instead if av_free*

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4c1b4ae1
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment