History

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

Andreas Rheinhardt committed 1 year ago

Commit 85fb3451 parent 0bdb6911 file · +1 −1Browse files

Unified · Split

libavcodec/adpcm.c+1−1
@@ -2319,7 +2319,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, AVFrame *frame, · 2318 unmodified lines
23192319 }
23202320 ) /* End of CASE */
23212321 default:
2322− av_assert0(0); // unsupported codec_id should not happen
2322+ av_unreachable("There are cases for all codec ids using adpcm_decode_frame");
23232323 }
23242324
23252325 if (avpkt->size && bytestream2_tell(&gb) == 0) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t