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
2319 }2319 }
2320 ) /* End of CASE */2320 ) /* End of CASE */
2321 default:2321 default:
2322 av_assert0(0); // unsupported codec_id should not happen2322 av_unreachable("There are cases for all codec ids using adpcm_decode_frame");
2323 }2323 }
2324 2324
2325 if (avpkt->size && bytestream2_tell(&gb) == 0) {2325 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