You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user