1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-12-10 00:52:12 +01:00
parent 4c1b4ae1ba
commit 7102083a26

View File

@ -174,7 +174,7 @@ static av_cold int utvideo_decode_close(AVCodecContext *avctx)
UtVideoContext *utv = (UtVideoContext *)avctx->priv_data; UtVideoContext *utv = (UtVideoContext *)avctx->priv_data;
/* Free output */ /* Free output */
av_freep(&avctx->coded_frame); av_frame_free(&avctx->coded_frame);
av_freep(&utv->buffer); av_freep(&utv->buffer);
/* Finish decoding and clean up the instance */ /* Finish decoding and clean up the instance */