From 3e91d822923b5c4e163bd67bdc003e37a5af8bf4 Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 22 Dec 2025 22:19:37 -0300 Subject: [PATCH] avcodec/cbs_apv: use av_unreachable instead of av_assert0(0) at the end of a non-void function Fixes compilation with gcc-tsan and --disable-optimizations Signed-off-by: James Almer --- libavcodec/cbs_apv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cbs_apv.c b/libavcodec/cbs_apv.c index be52c2e511..f6f701b9dd 100644 --- a/libavcodec/cbs_apv.c +++ b/libavcodec/cbs_apv.c @@ -33,7 +33,7 @@ static int cbs_apv_get_num_comp(const APVRawFrameHeader *fh) case APV_CHROMA_FORMAT_4444: return 4; default: - av_assert0(0 && "Invalid chroma_format_idc"); + av_unreachable("Invalid chroma_format_idc"); } }