[FFmpeg-devel] [PATCH v2 3/5] avcodec/d3d12va_h264: replace assert with av_assert0
Tong Wu
tong1.wu at intel.com
Thu Dec 28 05:10:40 EET 2023
Signed-off-by: Tong Wu <tong1.wu at intel.com>
---
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
More information about the ffmpeg-devel
mailing list