From e92bf7933f70ae7c6fdcc5a40eb46a2a1e59f7a8 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 6 May 2025 16:27:44 +0200 Subject: [PATCH 18/21] avcodec/adpcm: Use av_unreachable() instead of av_assert0() Signed-off-by: Andreas Rheinhardt --- libavcodec/adpcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index e20b60e05f..622cf54b40 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -2319,7 +2319,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, AVFrame *frame, } ) /* End of CASE */ default: - av_assert0(0); // unsupported codec_id should not happen + av_unreachable("There are cases for all codec ids using adpcm_decode_frame"); } if (avpkt->size && bytestream2_tell(&gb) == 0) { -- 2.45.2