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 0532247D85 for ; Mon, 25 Dec 2023 14:20:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C5B1568D18B; Mon, 25 Dec 2023 16:20:19 +0200 (EET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B578668CFD1 for ; Mon, 25 Dec 2023 16:20:12 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703514018; x=1735050018; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ALlJeFP5hrFOZlwrVzuebyEiTajItD7UmX7aVFRL+20=; b=ZIIEYGsOIytrAurgq7HLP3QcRYDpw4hC100xzxYxAQreEzxLI1X4p8y3 ATgB1erEJGXnVf+fmzzZqVGdG8DvOAIhI7n4GM48UlPNSDs7NBCGKd5eh TpXncjJByuJIiwA3Gt5OgA8Uqjx1y2BP9oT2qRZ/OfjY0MrTnXbNzbHqd JOEM8haeUCJl6yxnFi5TDk2RfI4d95SnHb+IHu+9mv9BkwuLybm4JS/Yt HETtPJgru6w6zA+OtxxJovxx3weSeeoNEeKu+ONmRT+EyiteYi4iQY0Ne 8LR/hAexoKnyyAlpv1qezaJV6jbTRMJmKkjwMcaa5MMztWQW5ZNLXAqxY w==; X-IronPort-AV: E=McAfee;i="6600,9927,10934"; a="9690300" X-IronPort-AV: E=Sophos;i="6.04,303,1695711600"; d="scan'208";a="9690300" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Dec 2023 06:19:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10934"; a="1024915281" X-IronPort-AV: E=Sophos;i="6.04,303,1695711600"; d="scan'208";a="1024915281" Received: from desktop-qn7n0nf.sh.intel.com (HELO localhost.localdomain) ([10.239.160.66]) by fmsmga006.fm.intel.com with ESMTP; 25 Dec 2023 06:19:54 -0800 From: Tong Wu To: ffmpeg-devel@ffmpeg.org Date: Mon, 25 Dec 2023 22:18:55 +0800 Message-ID: <20231225141859.664-2-tong1.wu@intel.com> X-Mailer: git-send-email 2.41.0.windows.1 In-Reply-To: <20231225141859.664-1-tong1.wu@intel.com> References: <20231225141859.664-1-tong1.wu@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/5] avcodec/d3d12va_decode: delete an empty line and fix a fuction alignment 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: Tong Wu 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: Signed-off-by: Tong Wu --- libavcodec/d3d12va_decode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/d3d12va_decode.c b/libavcodec/d3d12va_decode.c index e0b67bf964..50d5b8d601 100644 --- a/libavcodec/d3d12va_decode.c +++ b/libavcodec/d3d12va_decode.c @@ -324,11 +324,10 @@ int ff_d3d12va_decode_init(AVCodecContext *avctx) return AVERROR(ENOMEM); ctx->objects_queue = av_fifo_alloc2(D3D12VA_VIDEO_DEC_ASYNC_DEPTH, - sizeof(HelperObjects), AV_FIFO_FLAG_AUTO_GROW); + sizeof(HelperObjects), AV_FIFO_FLAG_AUTO_GROW); if (!ctx->objects_queue) return AVERROR(ENOMEM); - DX_CHECK(ID3D12Device_CreateFence(ctx->device_ctx->device, 0, D3D12_FENCE_FLAG_NONE, &IID_ID3D12Fence, (void **)&ctx->sync_ctx.fence)); -- 2.41.0.windows.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".