avcodec/d3d12va_h264: replace assert with av_assert0

Signed-off-by: Tong Wu <tong1.wu@intel.com>
This commit is contained in:
Tong Wu 2023-12-28 11:10:40 +08:00 committed by Haihao Xiang
parent 83e0fcbe03
commit 56c671c3b0
1 changed files with 1 additions and 1 deletions

View File

@ -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;