[FFmpeg-cvslog] avcodec/d3d12va_h264: replace assert with av_assert0

Tong Wu git at videolan.org
Fri Jan 5 05:53:42 EET 2024


ffmpeg | branch: master | Tong Wu <tong1.wu-at-intel.com at ffmpeg.org> | Thu Dec 28 11:10:40 2023 +0800| [56c671c3b085d662a84a1e371a719ee63c315656] | committer: Haihao Xiang

avcodec/d3d12va_h264: replace assert with av_assert0

Signed-off-by: Tong Wu <tong1.wu at intel.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=56c671c3b085d662a84a1e371a719ee63c315656
---

 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;
 



More information about the ffmpeg-cvslog mailing list