Commit 6287a356 authored by Michael Niedermayer's avatar Michael Niedermayer

h264: Fix memleaks on close, reset more fields

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ba3bb53b
......@@ -4266,6 +4266,7 @@ av_cold int ff_h264_decode_end(AVCodecContext *avctx)
H264Context *h = avctx->priv_data;
MpegEncContext *s = &h->s;
ff_h264_remove_all_refs(h);
ff_h264_free_context(h);
MPV_common_end(s);
......
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