summaryrefslogtreecommitdiffstats
path: root/libhb/qsv_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/qsv_memory.c')
-rw-r--r--libhb/qsv_memory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/qsv_memory.c b/libhb/qsv_memory.c
index f04c77a76..a01b502c8 100644
--- a/libhb/qsv_memory.c
+++ b/libhb/qsv_memory.c
@@ -26,6 +26,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\* ********************************************************************* */
+#ifdef USE_QSV
+
#include "hb.h"
#include "hbffmpeg.h"
#include "qsv_memory.h"
@@ -118,3 +120,5 @@ int qsv_yuv420_to_nv12(struct SwsContext* sws_context,mfxFrameSurface1* dst, hb_
return ret;
}
+
+#endif // USE_QSV