Commit e40f7f1e authored by Michael Niedermayer's avatar Michael Niedermayer

cavs: fix memleak

Fixes Ticket1335
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c794acc4
......@@ -701,6 +701,8 @@ av_cold int ff_cavs_init(AVCodecContext *avctx) {
av_cold int ff_cavs_end(AVCodecContext *avctx) {
AVSContext *h = avctx->priv_data;
ff_MPV_common_end(&h->s);
av_free(h->top_qp);
av_free(h->top_mv[0]);
av_free(h->top_mv[1]);
......
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