Message ID | 20200916064457.181230-5-haihao.xiang@intel.com |
---|---|
State | New |
Headers | show |
Series | qsv: Fix compiler errors when using libmfx 2.0 (oneVPL) | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 77f886981c..9f3dc0b2ad 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -64,7 +64,7 @@ #define QSV_HAVE_ICQ QSV_VERSION_ATLEAST(1, 28) #define QSV_HAVE_VCM 0 #define QSV_HAVE_QVBR QSV_VERSION_ATLEAST(1, 28) -#define QSV_HAVE_MF QSV_VERSION_ATLEAST(1, 25) +#define QSV_HAVE_MF QSV_VERSION_ATLEAST(1, 25) && !QSV_VERSION_ATLEAST(2, 0) #endif #if !QSV_HAVE_LA_DS