summaryrefslogtreecommitdiffstats
path: root/libhb/enc_qsv.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-09-24 13:00:25 +0000
committerRodeo <[email protected]>2013-09-24 13:00:25 +0000
commita79d60b425e588a5e2e4aff35815b8396c909895 (patch)
tree92e556b01b0181d9434cd330cb65008518f684ca /libhb/enc_qsv.c
parentd4a19d9cf6d05f0b6434384ba8d2bd4eed5cc6a3 (diff)
QSV: use ifdefs rather than filtering to bypass libmfx references during compilation without --enable-qsv.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5805 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/enc_qsv.c')
-rw-r--r--libhb/enc_qsv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c
index 45fef910a..46a398c67 100644
--- a/libhb/enc_qsv.c
+++ b/libhb/enc_qsv.c
@@ -26,6 +26,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\* ********************************************************************* */
+#ifdef USE_QSV
+
#include "hb.h"
#include "enc_qsv.h"
#include "qsv_common.h"
@@ -1569,3 +1571,5 @@ void parse_nalus(uint8_t *nal_inits, size_t length, hb_buffer_t *buf, uint32_t f
}
}
}
+
+#endif // USE_QSV