diff options
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) |