Commit 792e4c21 authored by Vittorio Giovara's avatar Vittorio Giovara

xbm: use av_frame_free on close

parent a7a5e385
......@@ -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;
}
......
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