ffmpeg | branch: master | Tong Wu <tong1.wu-at-intel....@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...@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;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to