1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-28 07:53:47 +02:00

xbm: use av_frame_free on close

This commit is contained in:
Vittorio Giovara 2014-03-17 01:20:53 +01:00
parent a7a5e3850e
commit 792e4c21f2

View File

@ -69,7 +69,7 @@ static int xbm_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static av_cold int xbm_encode_close(AVCodecContext *avctx)
{
av_freep(&avctx->coded_frame);
av_frame_free(&avctx->coded_frame);
return 0;
}