avcodec/amrwbdec: Mark default switch as unreachable

Alternative fix for Coverity issue #1473499
instead of a3bb269db92601e2dc0e99352468d02f7b26c7c2.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-10-03 14:19:33 +02:00
parent 004cc60f0e
commit fc9e2a92c1

View File

@ -556,7 +556,8 @@ static void decode_fixed_vector(float *fixed_vector, const uint16_t *pulse_hi,
((int) pulse_hi[i] << 11), 4, 1);
break;
default:
av_assert2(0);
av_unreachable("Everything >= MODE_SID is impossible: MODE_SID is patchwelcome,"
"> MODE_SID is invalid");
}
memset(fixed_vector, 0, sizeof(float) * AMRWB_SFR_SIZE);