From patchwork Mon Nov 27 08:11:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xiang, Haihao" X-Patchwork-Id: 44826 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:bca6:b0:181:818d:5e7f with SMTP id fx38csp3161173pzb; Mon, 27 Nov 2023 00:12:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVKqd9GwTrJBxqymXwej5O/2b81bgm/VCRbMdaMbaNe2n/7LpsnKd4b0v9MdG6EQeNQkqW X-Received: by 2002:a50:9f07:0:b0:54b:922:1f4a with SMTP id b7-20020a509f07000000b0054b09221f4amr6337001edf.17.1701072765592; Mon, 27 Nov 2023 00:12:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701072765; cv=none; d=google.com; s=arc-20160816; b=vnbEpBVHrrxV8aLsk5MeGtMSLUcOGNeXKpcCjWVKZVn1U9x+JK/tEupmo1ozbRs/e2 mTtcXblZ486VitSvV6jf9OoT66FKCT6SjRnHYaVJ9U1+FzvTtAucHjrmQak1KjgQcS0g J/JoAq8otlpxejrvt0Fd3eDpctvcQV1UM/gCf0ulwAKEeWatNb9z5dHc+NxoVUFPTSCf zOE1WBVZhBNUduwP1bA6QztVOYqWucx0fspWGsDZx/+RBQ3glzJEpHgK3Z/B4QFneS0b SwCFd3ngPJFUUFlTgNLC5HfpW00dmMLMf8eOBqhpHhRMCcevoE7vn0SnNicRFta5oglA 2liA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=AFH4kN0/vBoRylDdi960N1gu4xxypIBq/u8prsTzCfs=; fh=1kpmTRI1sW42eNCnNMby7VLIISQBX6KJuVYxOEG0t2A=; b=oq83g6lxy9y6mHKl+ktzwjkP14bWnIZ6gzMsPqQ1ZUpaKdLtxWdVqpBUivCW91oyvh yTA2TRaG8clBauySgJQxTrtJYPzClblzG/kwdhQ3aAw6C3iv7V82y5sJazuEGGyvOJTv nC0GP7P6ErMXLozIjApoZ0qM/S4cPJt2iyXfDjK7Vu6JFCMAW2IHylwt/ROrEK+nwPNF hNRe3u1VhkgNroA746TxYZ8RQzWb+rxdbX9edwk+3MGiEy7f6xph8iAJ1cKB409Rtd/i 64u9vxf51UdcW6ymeJJTQSKwikUYQOk1FbQbFlH2GwnaozMYT1NmGegDuW4rOzz75KXD 0G/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=gJDlPmV6; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id z15-20020a5096cf000000b00528497fa1dfsi4604685eda.584.2023.11.27.00.12.44; Mon, 27 Nov 2023 00:12:45 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=gJDlPmV6; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CC98468CF78; Mon, 27 Nov 2023 10:12:40 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 25F5D68CF4A for ; Mon, 27 Nov 2023 10:12:33 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701072760; x=1732608760; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Iv+X9Mh0TkW8Uo8IO2c8xNxDcGkV0HmErJYuqfmZg8A=; b=gJDlPmV6ispUmjGOGBtyW4Hb9rX4w9bvlOf3sbv4VLm/GIk7XFaPsuRq 6TGXbyNV3oowleXpjP23WloINSkRrc9a/fg4DiCCZfg04PIgN78stKjsl qbF1B/PlzM03DvE6B7Cb1+PM/0zZ9N525sGaHYtUejF78me62ppFFZeJO nWLnFqHEpYE5DdFXNwZfSd2V1EwfiOpnugIotWe63ssZtAXD4l7p2FMbD IStAyrbN5KknS8XvsQ9wZKdkTW/kvzU7hsuK+1Pe1YkbI9jhkGI2AleBN 3L1TS7wz1TrTtph4Mq20MCDvP6+Pt3c2S11K3iX4JCY7+/1WSMjkE2ABh w==; X-IronPort-AV: E=McAfee;i="6600,9927,10906"; a="11356292" X-IronPort-AV: E=Sophos;i="6.04,230,1695711600"; d="scan'208";a="11356292" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 00:12:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10906"; a="768101520" X-IronPort-AV: E=Sophos;i="6.04,230,1695711600"; d="scan'208";a="768101520" Received: from xhh-dg264.sh.intel.com ([10.238.2.76]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 00:12:30 -0800 From: "Xiang, Haihao" To: ffmpeg-devel@ffmpeg.org Date: Mon, 27 Nov 2023 16:11:52 +0800 Message-Id: <20231127081152.2437803-1-haihao.xiang@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] configure: don't warn deprecated symbols from libvpl X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Haihao Xiang Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Y1gZJ/HYYWDG From: Haihao Xiang 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 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 838e627084..d77c053226 100755 --- a/configure +++ b/configure @@ -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