]> granicus.if.org Git - handbrake/commitdiff
qsv: fix for memory leak for decode
authormaxd <maxim.d33@gmail.com>
Mon, 2 Jan 2017 21:45:40 +0000 (22:45 +0100)
committerBradley Sepos <bradley@bradleysepos.com>
Tue, 3 Jan 2017 12:02:33 +0000 (07:02 -0500)
Closes #490.

libhb/decavcodec.c

index 61ab9ef45a57228b9c14d7ce89bda730a46f5a44..c81168d520ab3d9143e9f5e828401180e02dad0a 100644 (file)
@@ -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);