diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2023-11-27 16:11:52 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2023-12-05 10:10:29 +0800 |
commit | 5717fbbea262a028bcfa751e6c0e6798284dfade (patch) | |
tree | d66e56ff26acd843bc83fea6b911c7567deb43b2 /configure | |
parent | d36d9994e4273371c457d37b0a161c887ae9f6b1 (diff) | |
download | ffmpeg-5717fbbea262a028bcfa751e6c0e6798284dfade.tar.gz |
configure: don't warn deprecated symbols from libvpl
libvpl deprecated some symbols (e.g. MFX_EXTBUFF_VPP_DENOISE2 is used to
replace MFX_EXTBUFF_VPP_DENOISE), however the new symbols aren't support
by MediaSDK runtime. In order to support the combination of libvpl and
MediaSDK runtime on legacy devices, we continue to use the deprecated
symbols in FFmpeg. This patch added -DMFX_DEPRECATED_OFF to CFLAGS to
silence the corresponding compilation warnings.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6776,6 +6776,7 @@ elif enabled libvpl; then # is extracted from "vpl >= 2.6" check_pkg_config libmfx "vpl >= 2.6" "mfxvideo.h mfxdispatcher.h" MFXLoad || \ die "ERROR: libvpl >= 2.6 not found" + add_cflags -DMFX_DEPRECATED_OFF fi if enabled libmfx; then |