Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -2319,7 +2319,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, AVFrame *frame, · 2318 unmodified lines | ||
| 2319 | 2319 | } |
| 2320 | 2320 | ) /* End of CASE */ |
| 2321 | 2321 | 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"); | |
| 2323 | 2323 | } |
| 2324 | 2324 | |
| 2325 | 2325 | if (avpkt->size && bytestream2_tell(&gb) == 0) { |