summaryrefslogtreecommitdiff
path: root/silk
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2018-07-21 17:55:24 -0700
committerMark Harris <mark.hsj@gmail.com>2018-07-21 21:35:39 -0700
commit01b035f8ba4f48e9e1ad9f9407f77ce9a7e4aa44 (patch)
tree650ba740211d9f62460076d6fea50c29d839758e /silk
parentc1c247d7e715100a50ca185948c7336bdd4dfdba (diff)
downloadopus-01b035f8ba4f48e9e1ad9f9407f77ce9a7e4aa44.tar.gz
Silence compiler warnings
clang -Wcast-align warnings with ambisonics enabled clang -Wnull-pointer-arithmetic warnings in test_opus_api.c gcc -Wimplicit-fallthrough warnings on arm msvc warning C4244 in celt_encoder.c with fixed point
Diffstat (limited to 'silk')
-rw-r--r--silk/arm/LPC_inv_pred_gain_neon_intr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/silk/arm/LPC_inv_pred_gain_neon_intr.c b/silk/arm/LPC_inv_pred_gain_neon_intr.c
index 27142f34..ab426bcd 100644
--- a/silk/arm/LPC_inv_pred_gain_neon_intr.c
+++ b/silk/arm/LPC_inv_pred_gain_neon_intr.c
@@ -217,13 +217,13 @@ opus_int32 silk_LPC_inverse_pred_gain_neon( /* O Returns inverse predi
{
case 24:
t0_s32x4 = vpadalq_s16( t0_s32x4, t2_s16x8 );
- /* Intend to fall through */
+ /* FALLTHROUGH */
case 16:
t0_s32x4 = vpadalq_s16( t0_s32x4, t1_s16x8 );
vst1q_s32( Atmp_QA + 16, vshll_n_s16( vget_low_s16 ( t2_s16x8 ), QA - 12 ) );
vst1q_s32( Atmp_QA + 20, vshll_n_s16( vget_high_s16( t2_s16x8 ), QA - 12 ) );
- /* Intend to fall through */
+ /* FALLTHROUGH */
case 8:
{
@@ -246,17 +246,17 @@ opus_int32 silk_LPC_inverse_pred_gain_neon( /* O Returns inverse predi
case 6:
DC_resp += (opus_int32)A_Q12[ 5 ];
DC_resp += (opus_int32)A_Q12[ 4 ];
- /* Intend to fall through */
+ /* FALLTHROUGH */
case 4:
DC_resp += (opus_int32)A_Q12[ 3 ];
DC_resp += (opus_int32)A_Q12[ 2 ];
- /* Intend to fall through */
+ /* FALLTHROUGH */
case 2:
DC_resp += (opus_int32)A_Q12[ 1 ];
DC_resp += (opus_int32)A_Q12[ 0 ];
- /* Intend to fall through */
+ /* FALLTHROUGH */
default:
break;