[FFmpeg-cvslog] avcodec/adpcm: Use av_unreachable() instead of av_assert0()
Andreas Rheinhardt
git at videolan.org
Wed May 21 13:48:03 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue May 6 16:27:44 2025 +0200| [85fb3453f892fe1d36e273d97d10e207bdbbcde6] | committer: Andreas Rheinhardt
avcodec/adpcm: Use av_unreachable() instead of av_assert0()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=85fb3453f892fe1d36e273d97d10e207bdbbcde6
---
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) {
More information about the ffmpeg-cvslog
mailing list