From 56c671c3b085d662a84a1e371a719ee63c315656 Mon Sep 17 00:00:00 2001 From: Tong Wu Date: Thu, 28 Dec 2023 11:10:40 +0800 Subject: [PATCH] avcodec/d3d12va_h264: replace assert with av_assert0 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;