diff options
author | Rodeo <[email protected]> | 2013-09-24 13:00:25 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-09-24 13:00:25 +0000 |
commit | a79d60b425e588a5e2e4aff35815b8396c909895 (patch) | |
tree | 92e556b01b0181d9434cd330cb65008518f684ca /libhb/qsv_memory.c | |
parent | d4a19d9cf6d05f0b6434384ba8d2bd4eed5cc6a3 (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/qsv_memory.c')
-rw-r--r-- | libhb/qsv_memory.c | 4 |
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 |