diff options
author | Tong Wu <tong1.wu-at-intel.com@ffmpeg.org> | 2023-12-28 11:10:42 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-01-05 11:06:57 +0800 |
commit | 270cd14bbbd26f3f379dedc2ec6e3146c3f191c2 (patch) | |
tree | f3b54dc710a0c4bc3e14e91fce7648e2ad5f092a /libavcodec/dxva2_vc1.c | |
parent | 0f01581ccd757f14ec349eba5d19c19b158d5957 (diff) |
avcodec/dxva2(h264|mpeg2|vc1): use av_assert0 instead of assert
Signed-off-by: Tong Wu <tong1.wu@intel.com>
Diffstat (limited to 'libavcodec/dxva2_vc1.c')
-rw-r--r-- | libavcodec/dxva2_vc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c index 2b1b3f97ea..f7513b2b15 100644 --- a/libavcodec/dxva2_vc1.c +++ b/libavcodec/dxva2_vc1.c @@ -321,7 +321,7 @@ static int dxva2_vc1_start_frame(AVCodecContext *avctx, if (!DXVA_CONTEXT_VALID(avctx, ctx)) return -1; - assert(ctx_pic); + av_assert0(ctx_pic); ff_dxva2_vc1_fill_picture_parameters(avctx, ctx, &ctx_pic->pp); |