X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Futvideoenc.c;h=99791ba1a9a423f151a97f80b3c58d9e8fb32d3e;hb=546d69eb43e831bb67a8a0d54a8762a315710c94;hp=355fdb1b8d7aa6c954c66734f5ba552fec39fadf;hpb=cf95877474ad8add55126db746f6818b47f71f37;p=ffmpeg diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c index 355fdb1b8d7..99791ba1a9a 100644 --- a/libavcodec/utvideoenc.c +++ b/libavcodec/utvideoenc.c @@ -48,7 +48,7 @@ static av_cold int utvideo_encode_close(AVCodecContext *avctx) UtvideoContext *c = avctx->priv_data; int i; - av_freep(&avctx->coded_frame); + av_frame_free(&avctx->coded_frame); av_freep(&c->slice_bits); for (i = 0; i < 4; i++) av_freep(&c->slice_buffer[i]);