From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id A07C147DC0 for ; Mon, 27 Nov 2023 08:12:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8E52368CF73; Mon, 27 Nov 2023 10:12:40 +0200 (EET) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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 -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".