1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/adpcm: Use av_unreachable() instead of av_assert0()

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-05-06 16:27:44 +02:00
parent 0bdb69119a
commit 85fb3453f8

View File

@ -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) {