diff options
author | John Stebbins <[email protected]> | 2019-04-17 10:33:04 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-17 11:25:13 -0600 |
commit | 76e9755eb71c500ba6a69c97c959f118873e5389 (patch) | |
tree | fef14dcd242551161bc077009537037b44d43fd6 /libhb/fifo.c | |
parent | b2cb27773a0cc1b84c847afec0b370e59236258d (diff) |
qsv: use HB_PROJECT_FEATURE_QSV instead of USE_QSV
Diffstat (limited to 'libhb/fifo.c')
-rw-r--r-- | libhb/fifo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/fifo.c b/libhb/fifo.c index 226b169e8..c52aef17f 100644 --- a/libhb/fifo.c +++ b/libhb/fifo.c @@ -8,7 +8,7 @@ */ #include "hb.h" -#ifdef USE_QSV +#if HB_PROJECT_FEATURE_QSV #include "qsv_libav.h" #endif @@ -496,7 +496,7 @@ hb_buffer_t * hb_buffer_dup( const hb_buffer_t * src ) hb_buffer_init_planes( buf ); } -#ifdef USE_QSV +#if HB_PROJECT_FEATURE_QSV memcpy(&buf->qsv_details, &src->qsv_details, sizeof(src->qsv_details)); #endif @@ -719,7 +719,7 @@ void hb_buffer_close( hb_buffer_t ** _b ) while( b ) { -#ifdef USE_QSV +#if HB_PROJECT_FEATURE_QSV // Reclaim QSV resources before dropping the buffer. // when decoding without QSV, the QSV atom will be NULL. if (b->qsv_details.qsv_atom != NULL && b->qsv_details.ctx != NULL) |