summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-05-22 10:17:53 -0400
committerErik de Castro Lopo <erikd@mega-nerd.com>2018-05-24 07:20:19 +1000
commit01eb19708c11f6aae1013e7c9c29c83efda33bfb (patch)
tree63e8b47f83baacc674f28f5328fa52d045fd45d2 /include
parent0db0e878b8c7eb09f9f42fb39ca43b7cbc5e8aca (diff)
downloadflac-01eb19708c11f6aae1013e7c9c29c83efda33bfb.tar.gz
Fix miscellaneous typos.
Found via `codespell -q 3`
Diffstat (limited to 'include')
-rw-r--r--include/FLAC++/decoder.h2
-rw-r--r--include/FLAC++/encoder.h2
-rw-r--r--include/FLAC/callback.h2
-rw-r--r--include/FLAC/metadata.h2
-rw-r--r--include/share/compat.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/include/FLAC++/decoder.h b/include/FLAC++/decoder.h
index 5cb4c7ef..6a2d901f 100644
--- a/include/FLAC++/decoder.h
+++ b/include/FLAC++/decoder.h
@@ -94,7 +94,7 @@ namespace FLAC {
* Only the read, write, and error callbacks are mandatory. The
* others are optional; this class provides default
* implementations that do nothing. In order for seeking to work
- * you must overide seek_callback(), tell_callback(),
+ * you must override seek_callback(), tell_callback(),
* length_callback(), and eof_callback().
*/
class FLACPP_API Stream {
diff --git a/include/FLAC++/encoder.h b/include/FLAC++/encoder.h
index 90b7f8c7..ce8d80a4 100644
--- a/include/FLAC++/encoder.h
+++ b/include/FLAC++/encoder.h
@@ -95,7 +95,7 @@ namespace FLAC {
* Only the write callback is mandatory. The others are
* optional; this class provides default implementations that do
* nothing. In order for some STREAMINFO and SEEKTABLE data to
- * be written properly, you must overide seek_callback() and
+ * be written properly, you must override seek_callback() and
* tell_callback(); see FLAC__stream_encoder_init_stream() as to
* why.
*/
diff --git a/include/FLAC/callback.h b/include/FLAC/callback.h
index f942dd25..38e23002 100644
--- a/include/FLAC/callback.h
+++ b/include/FLAC/callback.h
@@ -165,7 +165,7 @@ typedef int (*FLAC__IOCallback_Close) (FLAC__IOHandle handle);
* required may be set to NULL.
*
* If the seek requirement for an interface is optional, you can signify that
- * a data sorce is not seekable by setting the \a seek field to \c NULL.
+ * a data source is not seekable by setting the \a seek field to \c NULL.
*/
typedef struct {
FLAC__IOCallback_Read read;
diff --git a/include/FLAC/metadata.h b/include/FLAC/metadata.h
index 7316d5dd..4c67b87f 100644
--- a/include/FLAC/metadata.h
+++ b/include/FLAC/metadata.h
@@ -93,7 +93,7 @@
* Efficient means the whole file is rewritten at most one time, and only
* when necessary. Level 1 is not efficient only in the case that you
* cause more than one metadata block to grow or shrink beyond what can
- * be accomodated by padding. In this case you should probably use level
+ * be accommodated by padding. In this case you should probably use level
* 2, which allows you to edit all the metadata for a file in memory and
* write it out all at once.
*
diff --git a/include/share/compat.h b/include/share/compat.h
index 491b5cbd..f425ca36 100644
--- a/include/share/compat.h
+++ b/include/share/compat.h
@@ -29,7 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* This is the prefered location of all CPP hackery to make $random_compiler
+/* This is the preferred location of all CPP hackery to make $random_compiler
* work like something approaching a C99 (or maybe more accurately GNU99)
* compiler.
*