diff --git a/README.draft b/README.draft index 061af2323fe1645132925f3d11e59c23ab3572e6..221596637ef0914aaacf01e2e38eeab8ecc36be2 100644 --- a/README.draft +++ b/README.draft @@ -51,4 +51,4 @@ options: -loss <perc> : simulate packet loss, in percent (0-100); default: 0 input and output are little endian signed 16-bit PCM files or opus bitstreams -with simple opus_demo propritary framing. +with simple opus_demo proprietary framing. diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 328a06e847e4a4ae6aa59860d68f1c51f1be334b..7f5f7dc1b0ae2e2a7aadb7c178f229ae168bc709 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -835,7 +835,7 @@ HTML_FILE_EXTENSION = .html # standard header. Note that when using a custom header you are responsible # for the proper inclusion of any scripts and style sheets that doxygen # needs, which is dependent on the configuration options used. -# It is adviced to generate a default header using "doxygen -w html +# It is advised to generate a default header using "doxygen -w html # header.html footer.html stylesheet.css YourConfigFile" and then modify # that header. Note that the header is subject to change so you typically # have to redo this when upgrading to a newer version of doxygen or when changing the value of configuration settings such as GENERATE_TREEVIEW! diff --git a/doc/draft-ietf-codec-opus.xml b/doc/draft-ietf-codec-opus.xml index 79bbf0fe5c10dc2c891a470064a81d6df3ecdc49..334cad97a27d7e7bf1cdd09f4914cb6a96ae4711 100644 --- a/doc/draft-ietf-codec-opus.xml +++ b/doc/draft-ietf-codec-opus.xml @@ -7528,7 +7528,7 @@ implementation. The passing threshold (quality 0) was calibrated in such a way t additive white noise with a 48 dB SNR (similar to what can be obtained on a cassette deck). It is still possible for an implementation to sound very good with such a low quality measure (e.g. if the deviation is due to inaudible phase distortion), but unless this is verified by -listening tests, it is RECOMMENDED that implementations achive a quality above 90 for 48 kHz +listening tests, it is RECOMMENDED that implementations achieve a quality above 90 for 48 kHz decoding. For other sampling rates, it is normal for the quality metric to be lower (typically as low as 50 even for a good implementation) because of harmless mismatch with the delay and phase of the internal sampling rate conversion. diff --git a/doc/draft-spittka-payload-rtp-opus.xml b/doc/draft-spittka-payload-rtp-opus.xml index 09450d0cd7681a902ecabc1b8bce1dceaefa091a..05dd3de56fdb7b6e75095e006209f16873a607e6 100644 --- a/doc/draft-spittka-payload-rtp-opus.xml +++ b/doc/draft-spittka-payload-rtp-opus.xml @@ -761,7 +761,7 @@ "maxcodedaudiobandwidth" as this would lead to inefficient use of network resources. The "maxcodedaudiobandwidth" parameter does not affect interoperability. Also, this parameter SHOULD NOT be used to adjust the audio bandwidth as a function of the bitrates, as this - is the responsability of the Opus encoder implementation. + is the responsibility of the Opus encoder implementation. </t> <t>The parameter "maxaveragebitrate" is a unidirectional receive-only diff --git a/include/opus.h b/include/opus.h index 2add7842bdd3df755e28b5108f53b7c07570ff66..cdd9677f9b1e611ad15c43f691f935920951220b 100644 --- a/include/opus.h +++ b/include/opus.h @@ -371,7 +371,7 @@ OPUS_EXPORT int opus_encoder_ctl(OpusEncoder *st, int request, ...) OPUS_ARG_NON * @li max_size is the max duration of the frame in samples (per channel) that can fit into the decoded_frame array * * opus_decode() and opus_decode_float() return the number of samples (per channel) decoded from the packet. - * If that value is negative, then an error has occured. This can occur if the packet is corrupted or if the audio + * If that value is negative, then an error has occurred. This can occur if the packet is corrupted or if the audio * buffer is too small to hold the decoded audio. * * Opus is a stateful codec with overlapping blocks and as a result Opus diff --git a/include/opus_multistream.h b/include/opus_multistream.h index 9ae1711e8268408c50646b35024d6e97d6b3a691..2bf1dff790b3ddf6816b2549cbdaf1d0d3567655 100644 --- a/include/opus_multistream.h +++ b/include/opus_multistream.h @@ -108,7 +108,7 @@ extern "C" { * elementary Opus stream, the encoder and decoder must negotiate the channel * configuration before the decoder can successfully interpret the data in the * packets produced by the encoder. Some basic information, such as packet - * duration, can be computed without any special negotation. + * duration, can be computed without any special negotiation. * * The format for multistream Opus packets is defined in the * <a href="http://tools.ietf.org/html/draft-terriberry-oggopus">Ogg diff --git a/opus.m4 b/opus.m4 index 20f166bc2068a6b2f884b03c0ee6ecbfa48bc5ab..47f5ec49668c756ab091eaf0eb85e3e74aca332b 100644 --- a/opus.m4 +++ b/opus.m4 @@ -102,7 +102,7 @@ int main () echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Opus was incorrectly installed" + echo "*** exact error that occurred. This usually means Opus was incorrectly installed" echo "*** or that you have moved Opus since it was installed." ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" diff --git a/silk/NLSF_stabilize.c b/silk/NLSF_stabilize.c index fc642af0734037e93e090cbd5d28e998a8d746e3..7498b54a4178ab93be57f1f88fbcc733e1800154 100644 --- a/silk/NLSF_stabilize.c +++ b/silk/NLSF_stabilize.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. /* NLSF stabilizer: */ /* */ -/* - Moves NLSFs futher apart if they are too close */ +/* - Moves NLSFs further apart if they are too close */ /* - Moves NLSFs away from borders if they are too close */ /* - High effort to achieve a modification with minimum */ /* Euclidean distance to input vector */ diff --git a/silk/PLC.c b/silk/PLC.c index 906ad33c28e40f7e0aaf031662dbf720870fbafb..8d5472958daf6b5c27406a42eb5ed210f71cd6d7 100644 --- a/silk/PLC.c +++ b/silk/PLC.c @@ -363,7 +363,7 @@ static inline void silk_PLC_conceal( RESTORE_STACK; } -/* Glues concealed frames with new good recieved frames */ +/* Glues concealed frames with new good received frames */ void silk_PLC_glue_frames( silk_decoder_state *psDec, /* I/O decoder state */ opus_int16 frame[], /* I/O signal */ diff --git a/silk/SigProc_FIX.h b/silk/SigProc_FIX.h index 72ec26a67f2f44a3c1285f701a2cd591e0a77da9..daa5fd043e865eca2ce21c156ce646e4a4a43787 100644 --- a/silk/SigProc_FIX.h +++ b/silk/SigProc_FIX.h @@ -313,7 +313,7 @@ void silk_burg_modified( opus_int32 A_Q16[], /* O Prediction coefficients (length order) */ const opus_int16 x[], /* I Input signal, length: nb_subfr * ( D + subfr_length ) */ const opus_int32 minInvGain_Q30, /* I Inverse of max prediction gain */ - const opus_int subfr_length, /* I Input signal subframe length (incl. D preceeding samples) */ + const opus_int subfr_length, /* I Input signal subframe length (incl. D preceding samples) */ const opus_int nb_subfr, /* I Number of subframes stacked in x */ const opus_int D /* I Order */ ); @@ -379,7 +379,7 @@ static inline opus_int32 silk_ROR32( opus_int32 a32, opus_int rot ) } } -/* Allocate opus_int16 alligned to 4-byte memory address */ +/* Allocate opus_int16 aligned to 4-byte memory address */ #if EMBEDDED_ARM #define silk_DWORD_ALIGN __attribute__((aligned(4))) #else diff --git a/silk/fixed/LTP_analysis_filter_FIX.c b/silk/fixed/LTP_analysis_filter_FIX.c index 155eea8b4402357a67c66de37ebada9c649a8778..a8fee555771a584dc2ad743215ddd721e1c20e6d 100644 --- a/silk/fixed/LTP_analysis_filter_FIX.c +++ b/silk/fixed/LTP_analysis_filter_FIX.c @@ -33,13 +33,13 @@ POSSIBILITY OF SUCH DAMAGE. void silk_LTP_analysis_filter_FIX( opus_int16 *LTP_res, /* O LTP residual signal of length MAX_NB_SUBFR * ( pre_length + subfr_length ) */ - const opus_int16 *x, /* I Pointer to input signal with at least max( pitchL ) preceeding samples */ + const opus_int16 *x, /* I Pointer to input signal with at least max( pitchL ) preceding samples */ const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coefficients for each MAX_NB_SUBFR subframe */ const opus_int pitchL[ MAX_NB_SUBFR ], /* I Pitch lag, one for each subframe */ const opus_int32 invGains_Q16[ MAX_NB_SUBFR ], /* I Inverse quantization gains, one for each subframe */ const opus_int subfr_length, /* I Length of each subframe */ const opus_int nb_subfr, /* I Number of subframes */ - const opus_int pre_length /* I Length of the preceeding samples starting at &x[0] for each subframe */ + const opus_int pre_length /* I Length of the preceding samples starting at &x[0] for each subframe */ ) { const opus_int16 *x_ptr, *x_lag_ptr; diff --git a/silk/fixed/burg_modified_FIX.c b/silk/fixed/burg_modified_FIX.c index ecbba03c3971bb0ce5fd4f3444150f31d4165792..26a66b1cef7222f96a0f7c5812a3732324a9ecb0 100644 --- a/silk/fixed/burg_modified_FIX.c +++ b/silk/fixed/burg_modified_FIX.c @@ -47,7 +47,7 @@ void silk_burg_modified( opus_int32 A_Q16[], /* O Prediction coefficients (length order) */ const opus_int16 x[], /* I Input signal, length: nb_subfr * ( D + subfr_length ) */ const opus_int32 minInvGain_Q30, /* I Inverse of max prediction gain */ - const opus_int subfr_length, /* I Input signal subframe length (incl. D preceeding samples) */ + const opus_int subfr_length, /* I Input signal subframe length (incl. D preceding samples) */ const opus_int nb_subfr, /* I Number of subframes stacked in x */ const opus_int D /* I Order */ ) @@ -238,7 +238,7 @@ void silk_burg_modified( /* Scale coefficients */ A_Q16[ k ] = -silk_RSHIFT_ROUND( Af_QA[ k ], QA - 16 ); } - /* Subtract energy of preceeding samples from C0 */ + /* Subtract energy of preceding samples from C0 */ if( rshifts > 0 ) { for( s = 0; s < nb_subfr; s++ ) { x_ptr = x + s * subfr_length; diff --git a/silk/fixed/find_pitch_lags_FIX.c b/silk/fixed/find_pitch_lags_FIX.c index a323411e7306b1309f0be502ce885bf36c949fb4..9b83c7094a2ab15791d8ea429e5d6c96d8d2efe2 100644 --- a/silk/fixed/find_pitch_lags_FIX.c +++ b/silk/fixed/find_pitch_lags_FIX.c @@ -54,7 +54,7 @@ void silk_find_pitch_lags_FIX( /******************************************/ buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; - /* Safty check */ + /* Safety check */ silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); x_buf = x - psEnc->sCmn.ltp_mem_length; diff --git a/silk/fixed/main_FIX.h b/silk/fixed/main_FIX.h index 1e60f881203a1c0f78932128ad610f762a478e97..369b31ee396c84bacb3257f3b17184badf1e221b 100644 --- a/silk/fixed/main_FIX.h +++ b/silk/fixed/main_FIX.h @@ -168,17 +168,17 @@ void silk_find_LTP_FIX( void silk_LTP_analysis_filter_FIX( opus_int16 *LTP_res, /* O LTP residual signal of length MAX_NB_SUBFR * ( pre_length + subfr_length ) */ - const opus_int16 *x, /* I Pointer to input signal with at least max( pitchL ) preceeding samples */ + const opus_int16 *x, /* I Pointer to input signal with at least max( pitchL ) preceding samples */ const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coefficients for each MAX_NB_SUBFR subframe */ const opus_int pitchL[ MAX_NB_SUBFR ], /* I Pitch lag, one for each subframe */ const opus_int32 invGains_Q16[ MAX_NB_SUBFR ], /* I Inverse quantization gains, one for each subframe */ const opus_int subfr_length, /* I Length of each subframe */ const opus_int nb_subfr, /* I Number of subframes */ - const opus_int pre_length /* I Length of the preceeding samples starting at &x[0] for each subframe */ + const opus_int pre_length /* I Length of the preceding samples starting at &x[0] for each subframe */ ); /* Calculates residual energies of input subframes where all subframes have LPC_order */ -/* of preceeding samples */ +/* of preceding samples */ void silk_residual_energy_FIX( opus_int32 nrgs[ MAX_NB_SUBFR ], /* O Residual energy per subframe */ opus_int nrgsQ[ MAX_NB_SUBFR ], /* O Q value per subframe */ diff --git a/silk/fixed/noise_shape_analysis_FIX.c b/silk/fixed/noise_shape_analysis_FIX.c index b0e35deb85c5e5a9c7481f59619fec3167fbdb4c..d230e48d84ee9264b962c5d14c6e538ede3b38a2 100644 --- a/silk/fixed/noise_shape_analysis_FIX.c +++ b/silk/fixed/noise_shape_analysis_FIX.c @@ -199,7 +199,7 @@ void silk_noise_shape_analysis_FIX( /*************************/ /* Set quantizer offset */ if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { - /* Initally set to 0; may be overruled in process_gains(..) */ + /* Initially set to 0; may be overruled in process_gains(..) */ psEnc->sCmn.indices.quantOffsetType = 0; psEncCtrl->sparseness_Q8 = 0; } else { diff --git a/silk/fixed/pitch_analysis_core_FIX.c b/silk/fixed/pitch_analysis_core_FIX.c index bb9166eebec8f85f941f65dd0b716a1c0b863a81..d43f444d8acd39f9d78524d2c752a810d30139e4 100644 --- a/silk/fixed/pitch_analysis_core_FIX.c +++ b/silk/fixed/pitch_analysis_core_FIX.c @@ -500,7 +500,7 @@ opus_int silk_pitch_analysis_core( /* O Voicing estimate: 0 silk_assert( lag == silk_SAT16( lag ) ); contour_bias_Q20 = silk_DIV32_16( SILK_FIX_CONST( PE_FLATCONTOUR_BIAS, 20 ), lag ); - /* Set up codebook parameters acording to complexity setting and frame length */ + /* Set up codebook parameters according to complexity setting and frame length */ if( nb_subfr == PE_MAX_NB_SUBFR ) { nb_cbk_search = (opus_int)silk_nb_cbk_searchs_stage3[ complexity ]; cbk_size = PE_NB_CBKS_STAGE3_MAX; diff --git a/silk/fixed/residual_energy_FIX.c b/silk/fixed/residual_energy_FIX.c index 912b16bf307d9f1746475d95f92f86c24e6a0d91..f284e51f0fe36b13034772beefdd0b7578fd2557 100644 --- a/silk/fixed/residual_energy_FIX.c +++ b/silk/fixed/residual_energy_FIX.c @@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "main_FIX.h" /* Calculates residual energies of input subframes where all subframes have LPC_order */ -/* of preceeding samples */ +/* of preceding samples */ void silk_residual_energy_FIX( opus_int32 nrgs[ MAX_NB_SUBFR ], /* O Residual energy per subframe */ opus_int nrgsQ[ MAX_NB_SUBFR ], /* O Q value per subframe */ @@ -54,7 +54,7 @@ void silk_residual_energy_FIX( /* Filter input to create the LPC residual for each frame half, and measure subframe energies */ for( i = 0; i < nb_subfr >> 1; i++ ) { - /* Calculate half frame LPC residual signal including preceeding samples */ + /* Calculate half frame LPC residual signal including preceding samples */ silk_LPC_analysis_filter( LPC_res, x_ptr, a_Q12[ i ], ( MAX_NB_SUBFR >> 1 ) * offset, LPC_order ); /* Point to first subframe of the just calculated LPC residual signal */ diff --git a/silk/float/LTP_analysis_filter_FLP.c b/silk/float/LTP_analysis_filter_FLP.c index 297c813ca1dd9712f23f82b873cb1bc1f2ec991a..d3a6a5ae3f47d0d01ff4ea53a4a311bad4dc9a75 100644 --- a/silk/float/LTP_analysis_filter_FLP.c +++ b/silk/float/LTP_analysis_filter_FLP.c @@ -33,13 +33,13 @@ POSSIBILITY OF SUCH DAMAGE. void silk_LTP_analysis_filter_FLP( silk_float *LTP_res, /* O LTP res MAX_NB_SUBFR*(pre_lgth+subfr_lngth) */ - const silk_float *x, /* I Input signal, with preceeding samples */ + const silk_float *x, /* I Input signal, with preceding samples */ const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for each subframe */ const opus_int pitchL[ MAX_NB_SUBFR ], /* I Pitch lags */ const silk_float invGains[ MAX_NB_SUBFR ], /* I Inverse quantization gains */ const opus_int subfr_length, /* I Length of each subframe */ const opus_int nb_subfr, /* I number of subframes */ - const opus_int pre_length /* I Preceeding samples for each subframe */ + const opus_int pre_length /* I Preceding samples for each subframe */ ) { const silk_float *x_ptr, *x_lag_ptr; diff --git a/silk/float/SigProc_FLP.h b/silk/float/SigProc_FLP.h index 18e2571273993a077ff1251747a9f1cd0f284716..036b46daa37a4f4886bd7a0fa7c557a5d003ea04 100644 --- a/silk/float/SigProc_FLP.h +++ b/silk/float/SigProc_FLP.h @@ -109,7 +109,7 @@ silk_float silk_burg_modified_FLP( /* O returns residual energy silk_float A[], /* O prediction coefficients (length order) */ const silk_float x[], /* I input signal, length: nb_subfr*(D+L_sub) */ const silk_float minInvGain, /* I minimum inverse prediction gain */ - const opus_int subfr_length, /* I input signal subframe length (incl. D preceeding samples) */ + const opus_int subfr_length, /* I input signal subframe length (incl. D preceding samples) */ const opus_int nb_subfr, /* I number of subframes stacked in x */ const opus_int D /* I order */ ); diff --git a/silk/float/burg_modified_FLP.c b/silk/float/burg_modified_FLP.c index 0add3a6538ecc4cc4039f61553f99a25bc99114c..31c9b2280b97f2c0884d697b97b4065cda289460 100644 --- a/silk/float/burg_modified_FLP.c +++ b/silk/float/burg_modified_FLP.c @@ -40,7 +40,7 @@ silk_float silk_burg_modified_FLP( /* O returns residual energy silk_float A[], /* O prediction coefficients (length order) */ const silk_float x[], /* I input signal, length: nb_subfr*(D+L_sub) */ const silk_float minInvGain, /* I minimum inverse prediction gain */ - const opus_int subfr_length, /* I input signal subframe length (incl. D preceeding samples) */ + const opus_int subfr_length, /* I input signal subframe length (incl. D preceding samples) */ const opus_int nb_subfr, /* I number of subframes stacked in x */ const opus_int D /* I order */ ) @@ -162,7 +162,7 @@ silk_float silk_burg_modified_FLP( /* O returns residual energy for( k = 0; k < D; k++ ) { A[ k ] = (silk_float)( -Af[ k ] ); } - /* Subtract energy of preceeding samples from C0 */ + /* Subtract energy of preceding samples from C0 */ for( s = 0; s < nb_subfr; s++ ) { C0 -= silk_energy_FLP( x + s * subfr_length, D ); } diff --git a/silk/float/find_pitch_lags_FLP.c b/silk/float/find_pitch_lags_FLP.c index b3ade8fb29bbaf64e22b6dd714334aec63534d28..9f06effde9952730ac3ad48fdbdafb83880ae75c 100644 --- a/silk/float/find_pitch_lags_FLP.c +++ b/silk/float/find_pitch_lags_FLP.c @@ -54,7 +54,7 @@ void silk_find_pitch_lags_FLP( /******************************************/ buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; - /* Safty check */ + /* Safety check */ silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); x_buf = x - psEnc->sCmn.ltp_mem_length; diff --git a/silk/float/main_FLP.h b/silk/float/main_FLP.h index 202a7fe03afb313e8093e36560d3a0bb01b840fb..93455d4d9a47d73b42b5005cc9b5fda200aa7c88 100644 --- a/silk/float/main_FLP.h +++ b/silk/float/main_FLP.h @@ -164,17 +164,17 @@ void silk_find_LTP_FLP( void silk_LTP_analysis_filter_FLP( silk_float *LTP_res, /* O LTP res MAX_NB_SUBFR*(pre_lgth+subfr_lngth) */ - const silk_float *x, /* I Input signal, with preceeding samples */ + const silk_float *x, /* I Input signal, with preceding samples */ const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for each subframe */ const opus_int pitchL[ MAX_NB_SUBFR ], /* I Pitch lags */ const silk_float invGains[ MAX_NB_SUBFR ], /* I Inverse quantization gains */ const opus_int subfr_length, /* I Length of each subframe */ const opus_int nb_subfr, /* I number of subframes */ - const opus_int pre_length /* I Preceeding samples for each subframe */ + const opus_int pre_length /* I Preceding samples for each subframe */ ); /* Calculates residual energies of input subframes where all subframes have LPC_order */ -/* of preceeding samples */ +/* of preceding samples */ void silk_residual_energy_FLP( silk_float nrgs[ MAX_NB_SUBFR ], /* O Residual energy per subframe */ const silk_float x[], /* I Input signal */ diff --git a/silk/float/noise_shape_analysis_FLP.c b/silk/float/noise_shape_analysis_FLP.c index 1c203b37a089a3ffa2a849121c2bc679dfb5b1cf..33bfd20d134ad5404dc57b612feeb159d8f2cbe4 100644 --- a/silk/float/noise_shape_analysis_FLP.c +++ b/silk/float/noise_shape_analysis_FLP.c @@ -174,7 +174,7 @@ void silk_noise_shape_analysis_FLP( /*************************/ /* Set quantizer offset */ if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { - /* Initally set to 0; may be overruled in process_gains(..) */ + /* Initially set to 0; may be overruled in process_gains(..) */ psEnc->sCmn.indices.quantOffsetType = 0; psEncCtrl->sparseness = 0.0f; } else { diff --git a/silk/float/pitch_analysis_core_FLP.c b/silk/float/pitch_analysis_core_FLP.c index d23e4ee2e020e3658512a34edb4c33fbc64a240c..fbff90c3ffbfc4bfd90d9403db113a4431467205 100644 --- a/silk/float/pitch_analysis_core_FLP.c +++ b/silk/float/pitch_analysis_core_FLP.c @@ -419,7 +419,7 @@ opus_int silk_pitch_analysis_core_FLP( /* O Voicing estimate: 0 voiced, silk_assert( lag == silk_SAT16( lag ) ); contour_bias = PE_FLATCONTOUR_BIAS / lag; - /* Set up cbk parameters acording to complexity setting and frame length */ + /* Set up cbk parameters according to complexity setting and frame length */ if( nb_subfr == PE_MAX_NB_SUBFR ) { nb_cbk_search = (opus_int)silk_nb_cbk_searchs_stage3[ complexity ]; cbk_size = PE_NB_CBKS_STAGE3_MAX; diff --git a/silk/float/residual_energy_FLP.c b/silk/float/residual_energy_FLP.c index 4fa0e677f3f1fafff259ee23f5393266899745ad..e65457ab85896cf5c8dc086fdbf3530ced8afe92 100644 --- a/silk/float/residual_energy_FLP.c +++ b/silk/float/residual_energy_FLP.c @@ -87,7 +87,7 @@ silk_float silk_residual_energy_covar_FLP( /* O } /* Calculates residual energies of input subframes where all subframes have LPC_order */ -/* of preceeding samples */ +/* of preceding samples */ void silk_residual_energy_FLP( silk_float nrgs[ MAX_NB_SUBFR ], /* O Residual energy per subframe */ const silk_float x[], /* I Input signal */ diff --git a/tests/test_opus_api.c b/tests/test_opus_api.c index b5348c3ab2dde2f19aaddd1f504bdd15f591851c..cae8a75793673f9f997afa4708a5db385e534cad 100644 --- a/tests/test_opus_api.c +++ b/tests/test_opus_api.c @@ -1538,7 +1538,7 @@ int test_repacketizer_api(void) #ifdef MALLOC_FAIL /* GLIBC 2.14 declares __malloc_hook as deprecated, generating a warning * under GCC. However, this is the cleanest way to test malloc failure - * handling in our codebase, and the lack of thread saftey isn't an + * handling in our codebase, and the lack of thread safety isn't an * issue here. We therefore disable the warning for this function. */ #if OPUS_GNUC_PREREQ(4,6)