diff options
author | luz.paz <luzpaz@users.noreply.github.com> | 2018-05-22 10:17:53 -0400 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2018-05-24 07:20:19 +1000 |
commit | 01eb19708c11f6aae1013e7c9c29c83efda33bfb (patch) | |
tree | 63e8b47f83baacc674f28f5328fa52d045fd45d2 /src/libFLAC | |
parent | 0db0e878b8c7eb09f9f42fb39ca43b7cbc5e8aca (diff) | |
download | flac-01eb19708c11f6aae1013e7c9c29c83efda33bfb.tar.gz |
Fix miscellaneous typos.
Found via `codespell -q 3`
Diffstat (limited to 'src/libFLAC')
-rw-r--r-- | src/libFLAC/bitreader.c | 2 | ||||
-rw-r--r-- | src/libFLAC/libFLAC.m4 | 2 | ||||
-rw-r--r-- | src/libFLAC/ogg_decoder_aspect.c | 2 | ||||
-rw-r--r-- | src/libFLAC/stream_decoder.c | 2 | ||||
-rw-r--r-- | src/libFLAC/stream_encoder.c | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/libFLAC/bitreader.c b/src/libFLAC/bitreader.c index 6a415099..935208a5 100644 --- a/src/libFLAC/bitreader.c +++ b/src/libFLAC/bitreader.c @@ -173,7 +173,7 @@ static FLAC__bool bitreader_read_from_client_(FLAC__BitReader *br) /* before reading, if the existing reader looks like this (say brword is 32 bits wide) * bitstream : 11 22 33 44 55 br->words=1 br->bytes=1 (partial tail word is left-justified) - * buffer[BE]: 11 22 33 44 55 ?? ?? ?? (shown layed out as bytes sequentially in memory) + * buffer[BE]: 11 22 33 44 55 ?? ?? ?? (shown laid out as bytes sequentially in memory) * buffer[LE]: 44 33 22 11 ?? ?? ?? 55 (?? being don't-care) * ^^-------target, bytes=3 * on LE machines, have to byteswap the odd tail word so nothing is diff --git a/src/libFLAC/libFLAC.m4 b/src/libFLAC/libFLAC.m4 index da7354e9..9bf2bf36 100644 --- a/src/libFLAC/libFLAC.m4 +++ b/src/libFLAC/libFLAC.m4 @@ -98,7 +98,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 libFLAC was incorrectly installed" + echo "*** exact error that occurred. This usually means libFLAC was incorrectly installed" echo "*** or that you have moved libFLAC since it was installed. In the latter case, you" echo "*** may want to edit the libFLAC-config script: $LIBFLAC_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" diff --git a/src/libFLAC/ogg_decoder_aspect.c b/src/libFLAC/ogg_decoder_aspect.c index 44f39219..7c814a24 100644 --- a/src/libFLAC/ogg_decoder_aspect.c +++ b/src/libFLAC/ogg_decoder_aspect.c @@ -111,7 +111,7 @@ FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper( * decoder will eventually call the read callback to supply some data, * but how much it asks for depends on how much free space it has in * its internal buffer. It does not try to grow its internal buffer - * to accomodate a whole frame because then the internal buffer size + * to accommodate a whole frame because then the internal buffer size * could not be limited, which is necessary in embedded applications. * * Ogg however grows its internal buffer until a whole page is present; diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index dd5d01fa..40ea8264 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -3020,7 +3020,7 @@ FLAC__bool seek_to_absolute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 s * min_blocksize might be zero. */ else if(min_blocksize == max_blocksize && min_blocksize > 0) { - /* note there are no () around 'bps/8' to keep precision up since it's an integer calulation */ + /* note there are no () around 'bps/8' to keep precision up since it's an integer calculation */ approx_bytes_per_frame = min_blocksize * channels * bps/8 + 64; } else diff --git a/src/libFLAC/stream_encoder.c b/src/libFLAC/stream_encoder.c index 32df4d32..87cfb580 100644 --- a/src/libFLAC/stream_encoder.c +++ b/src/libFLAC/stream_encoder.c @@ -650,7 +650,7 @@ static FLAC__StreamEncoderInitStatus init_stream_internal_( encoder->protected_->loose_mid_side_stereo = false; if(encoder->protected_->bits_per_sample >= 32) - encoder->protected_->do_mid_side_stereo = false; /* since we currenty do 32-bit math, the side channel would have 33 bps and overflow */ + encoder->protected_->do_mid_side_stereo = false; /* since we currently do 32-bit math, the side channel would have 33 bps and overflow */ if(encoder->protected_->bits_per_sample < FLAC__MIN_BITS_PER_SAMPLE || encoder->protected_->bits_per_sample > FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE) return FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_BITS_PER_SAMPLE; @@ -1913,7 +1913,7 @@ FLAC_API FLAC__bool FLAC__stream_encoder_set_metadata(FLAC__StreamEncoder *encod } /* - * These three functions are not static, but not publically exposed in + * These three functions are not static, but not publicly exposed in * include/FLAC/ either. They are used by the test suite. */ FLAC_API FLAC__bool FLAC__stream_encoder_disable_constant_subframes(FLAC__StreamEncoder *encoder, FLAC__bool value) |