From 7afd2d7c5cd3078a99701d73eb6445c3a1d70808 Mon Sep 17 00:00:00 2001 From: maxd Date: Mon, 2 Jan 2017 22:45:40 +0100 Subject: [PATCH] qsv: fix for memory leak for decode Closes #490. --- libhb/decavcodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0