summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaxd <[email protected]>2017-01-02 22:45:40 +0100
committerBradley Sepos <[email protected]>2017-01-03 07:02:33 -0500
commit7afd2d7c5cd3078a99701d73eb6445c3a1d70808 (patch)
treecffd6d9269474e74770386c65f30abb1b5b96622
parent31553653e0c1f8349419014f60fd97978a4169d7 (diff)
qsv: fix for memory leak for decode
Closes #490.
-rw-r--r--libhb/decavcodec.c2
1 files changed, 1 insertions, 1 deletions
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);