Misc. typos

Found via `codespell -q  3`

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
diff --git a/CHANGES b/CHANGES
index 6814e31..bce87d0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -82,7 +82,7 @@
 
  * big-endian bitpacker routines for Theora
  * various portability fixes
- * improved API documenation
+ * improved API documentation
  * RFC 3533 documentation of the format by Silvia Pfeiffer at CSIRO
  * RFC 3534 documentation of the application/ogg mime-type by Linus Walleij
 
diff --git a/doc/libogg/general.html b/doc/libogg/general.html
index 2db0627..edae3f8 100644
--- a/doc/libogg/general.html
+++ b/doc/libogg/general.html
@@ -44,7 +44,7 @@
 </tr>
 <tr valign=top>
 <td><a href="ogg_stream_check.html">ogg_stream_check</a></td>
-	<td>Check for asyncronous errors.</td>
+	<td>Check for asynchronous errors.</td>
 </tr>
 <tr valign=top>
 <td><a href="ogg_stream_eos.html">ogg_stream_eos</a></td>
diff --git a/doc/libogg/ogg_stream_iovecin.html b/doc/libogg/ogg_stream_iovecin.html
index 09f19c3..f6b73ff 100644
--- a/doc/libogg/ogg_stream_iovecin.html
+++ b/doc/libogg/ogg_stream_iovecin.html
@@ -49,9 +49,9 @@
 <dt><i>count</i></dt>
 <dd>Length of the iov array.
 <dt><i>e_o_s</i></dt>
-<dd>End of stream flag, analagous to the e_o_s field in an <a href="ogg_packet.html">ogg_packet</a>.
+<dd>End of stream flag, analogous to the e_o_s field in an <a href="ogg_packet.html">ogg_packet</a>.
 <dt><i>granulepos</i></dt>
-<dd>Granule position value, analagous to the granpos field in an <a href="ogg_packet.html">ogg_packet</a>.
+<dd>Granule position value, analogous to the granpos field in an <a href="ogg_packet.html">ogg_packet</a>.
 </dl>
 
 
diff --git a/doc/libogg/ogg_stream_state.html b/doc/libogg/ogg_stream_state.html
index e33dd65..dc440c3 100644
--- a/doc/libogg/ogg_stream_state.html
+++ b/doc/libogg/ogg_stream_state.html
@@ -53,7 +53,7 @@
   ogg_int64_t  packetno;      /* sequence number for decode; the framing
                              knows where there's a hole in the data,
                              but we need coupling so that the codec
-                             (which is in a seperate abstraction
+                             (which is in a separate abstraction
                              layer) also knows about the gap */
   ogg_int64_t   granulepos;
 
diff --git a/doc/libogg/ogg_sync_wrote.html b/doc/libogg/ogg_sync_wrote.html
index 1397392..a979393 100644
--- a/doc/libogg/ogg_sync_wrote.html
+++ b/doc/libogg/ogg_sync_wrote.html
@@ -20,7 +20,7 @@
 <p>This function is used to tell the <a href="ogg_sync_state.html">ogg_sync_state</a> struct how many bytes we wrote into the buffer. 
 
 <p>
-The general proceedure is to request a pointer into an internal 
+The general procedure is to request a pointer into an internal 
 <a href="ogg_sync_state.html">ogg_sync_state</a> buffer by calling 
 <a href="ogg_sync_buffer.html">ogg_sync_buffer()</a>. The buffer
 is then filled up to the requested size with new input, and 
diff --git a/doc/ogg-multiplex.html b/doc/ogg-multiplex.html
index bd08e25..0674400 100644
--- a/doc/ogg-multiplex.html
+++ b/doc/ogg-multiplex.html
@@ -126,7 +126,7 @@
 cases and adds no additional functionality as bisection search
 delivers the same functionality for both one- and two-pass stream
 types.  For these reasons, use of indexes is discouraged, except in
-cases where an index provides demonstrable and noticable performance
+cases where an index provides demonstrable and noticeable performance
 improvement.</i></p>
 
 <p>Seek operations are by absolute time; a direct bisection search must
diff --git a/doc/oggstream.html b/doc/oggstream.html
index 71bbce7..9769d5a 100644
--- a/doc/oggstream.html
+++ b/doc/oggstream.html
@@ -551,7 +551,7 @@
 <li><p>Although an absolute time need not be translatable to a unique
 granule position, a codec must be able to determine the unique granule
 position of the current packet using the granule position of a
-preceeding packet.
+preceding packet.
 
 <li><p>Packets and pages must be arranged in ascending
 granule-position and time order.
diff --git a/doc/release.txt b/doc/release.txt
index c823222..2003d1d 100644
--- a/doc/release.txt
+++ b/doc/release.txt
@@ -21,7 +21,7 @@
 - Add a copy of the documentation to <https://xiph.org/ogg/docs/>
   and update the links.
 
-Releases are commited to https://svn.xiph.org/releases/ogg/
+Releases are committed to https://svn.xiph.org/releases/ogg/
 which propagates to downloads.xiph.org.
 
 Release packages should also be manually attached to the corresponding
diff --git a/ogg.m4 b/ogg.m4
index 77d663b..17235da 100644
--- a/ogg.m4
+++ b/ogg.m4
@@ -101,7 +101,7 @@
        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 Ogg was incorrectly installed"
+       echo "*** exact error that occurred. This usually means Ogg was incorrectly installed"
        echo "*** or that you have moved Ogg since it was installed." ])
        CFLAGS="$ac_save_CFLAGS"
        LIBS="$ac_save_LIBS"
diff --git a/src/framing.c b/src/framing.c
index d127ec4..4f4f363 100644
--- a/src/framing.c
+++ b/src/framing.c
@@ -373,9 +373,9 @@
   }else{
 
     /* The extra packets_done, packet_just_done logic here attempts to do two things:
-       1) Don't unneccessarily span pages.
+       1) Don't unnecessarily span pages.
        2) Unless necessary, don't flush pages if there are less than four packets on
-          them; this expands page size to reduce unneccessary overhead if incoming packets
+          them; this expands page size to reduce unnecessary overhead if incoming packets
           are large.
        These are not necessary behaviors, just 'always better than naive flushing'
        without requiring an application to explicitly request a specific optimized