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 11E4A48A21 for ; Mon, 25 Dec 2023 14:20:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DAB4268D197; Mon, 25 Dec 2023 16:20:20 +0200 (EET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0D2B068D18B for ; Mon, 25 Dec 2023 16:20:13 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703514019; x=1735050019; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zoDgRPgQR40owL4/4j8ufpRWyhXG8nvEFmCunsxWEBU=; b=kwU1h/WDETvtXu+TUPusTEtAOm451SGr0Zsdn1KyivVRTwezJFvVXfCy JknnPRMBfcl8uKmOve0sHKGsDHbdaW3uuvMt9SovrnwU4uT1lP+HGnt/W O3Y+Bn0gKXgJeyKKDYOuYe/TWLj0oZo4GsZRaZv9H17wk+KSRdCK2SX5Q k569pkQKZyuRfJ+vSzB1NLNZJUkDQnIYAMZQ24Pvof5dZjry/RWbacvhi 0Bsz0qU5ly3VbmfUCDFr5jpTV670bBiVAJsi6NrbZ1UdEcjazA3n7R0tK ooevbkSdg8e+HTF65Z9x7anuak+e4l3jrZ4HqoVEIMr4C5D2GOwnZehqN w==; X-IronPort-AV: E=McAfee;i="6600,9927,10934"; a="9690303" X-IronPort-AV: E=Sophos;i="6.04,303,1695711600"; d="scan'208";a="9690303" 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:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10934"; a="1024915284" X-IronPort-AV: E=Sophos;i="6.04,303,1695711600"; d="scan'208";a="1024915284" 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:55 -0800 From: Tong Wu To: ffmpeg-devel@ffmpeg.org Date: Mon, 25 Dec 2023 22:18:56 +0800 Message-ID: <20231225141859.664-3-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 3/5] avcodec/d3d12va_h264: replace assert with av_assert0 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_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/d3d12va_h264.c b/libavcodec/d3d12va_h264.c index 5a6d6852c8..24e1c523fa 100644 --- a/libavcodec/d3d12va_h264.c +++ b/libavcodec/d3d12va_h264.c @@ -60,7 +60,7 @@ static int d3d12va_h264_start_frame(AVCodecContext *avctx, if (!ctx) return -1; - assert(ctx_pic); + av_assert0(ctx_pic); ctx->used_mask = 0; -- 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".