From: maxd Date: Mon, 2 Jan 2017 21:45:40 +0000 (+0100) Subject: qsv: fix for memory leak for decode X-Git-Tag: 1.1.0~813 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7afd2d7c5cd3078a99701d73eb6445c3a1d70808;p=handbrake qsv: fix for memory leak for decode Closes #490. --- diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 61ab9ef45..c81168d52 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -357,7 +357,7 @@ static void closePrivData( hb_work_private_t ** ppv ) * libavcodec, but encoding using libhb, without us requesting any * form of communication between the two libmfx sessions). */ - if (!(pv->qsv.decode && pv->job != NULL && (pv->job->vcodec & HB_VCODEC_QSV_MASK))) + //if (!(pv->qsv.decode && pv->job != NULL && (pv->job->vcodec & HB_VCODEC_QSV_MASK))) #endif { hb_avcodec_close(pv->context);