You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/amrwbdec: Mark default switch as unreachable
Alternative fix for Coverity issue #1473499
instead of a3bb269db9
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -556,7 +556,8 @@ static void decode_fixed_vector(float *fixed_vector, const uint16_t *pulse_hi,
|
|||||||
((int) pulse_hi[i] << 11), 4, 1);
|
((int) pulse_hi[i] << 11), 4, 1);
|
||||||
break;
|
break;
|
||||||
default:
|
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);
|
memset(fixed_vector, 0, sizeof(float) * AMRWB_SFR_SIZE);
|
||||||
|
Reference in New Issue
Block a user