avcodec/adpcm: Use av_unreachable() instead of av_assert0()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
0bdb69119a
commit
85fb3453f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue