You've already forked FFmpeg
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:
@ -2319,7 +2319,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
}
|
}
|
||||||
) /* End of CASE */
|
) /* End of CASE */
|
||||||
default:
|
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) {
|
if (avpkt->size && bytestream2_tell(&gb) == 0) {
|
||||||
|
Reference in New Issue
Block a user