changeset 12051:3798d134f330 libavcodec

Grammar fixes
author mru
date Fri, 02 Jul 2010 00:03:48 +0000
parents a3fe680377aa
children c7c32da068ab
files alsdec.c avcodec.h qcelpdec.c
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/alsdec.c	Thu Jul 01 23:36:48 2010 +0000
+++ b/alsdec.c	Fri Jul 02 00:03:48 2010 +0000
@@ -454,7 +454,7 @@
 }
 
 
-/** Read and decodes a Rice codeword.
+/** Read and decode a Rice codeword.
  */
 static int32_t decode_rice(GetBitContext *gb, unsigned int k)
 {
@@ -490,8 +490,8 @@
 }
 
 
-/** Read block switching field if necessary and sets actual block sizes.
- *  Also assures that the block sizes of the last frame correspond to the
+/** Read block switching field if necessary and set actual block sizes.
+ *  Also assure that the block sizes of the last frame correspond to the
  *  actual number of samples.
  */
 static void get_block_sizes(ALSDecContext *ctx, unsigned int *div_blocks,
@@ -980,7 +980,7 @@
 }
 
 
-/** Read and decodes block data successively.
+/** Read and decode block data successively.
  */
 static int read_decode_block(ALSDecContext *ctx, ALSBlockData *bd)
 {
--- a/avcodec.h	Thu Jul 01 23:36:48 2010 +0000
+++ b/avcodec.h	Fri Jul 02 00:03:48 2010 +0000
@@ -48,7 +48,7 @@
 #define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
 
 /**
- * Identifie the syntax and semantics of the bitstream.
+ * Identify the syntax and semantics of the bitstream.
  * The principle is roughly:
  * Two decoders with the same ID can decode the same streams.
  * Two encoders with the same ID can encode compatible streams.
@@ -3533,7 +3533,7 @@
 
 /**
  * Decode a subtitle message.
- * Return a negative value on error, otherwise returns the number of bytes used.
+ * Return a negative value on error, otherwise return the number of bytes used.
  * If no subtitle could be decompressed, got_sub_ptr is zero.
  * Otherwise, the subtitle is stored in *sub.
  *
--- a/qcelpdec.c	Thu Jul 01 23:36:48 2010 +0000
+++ b/qcelpdec.c	Fri Jul 02 00:03:48 2010 +0000
@@ -594,7 +594,7 @@
 }
 
 /**
- * Interpolate LSP frequencies and computes LPC coefficients
+ * Interpolate LSP frequencies and compute LPC coefficients
  * for a given bitrate & pitch subframe.
  *
  * TIA/EIA/IS-733 2.4.3.3.4, 2.4.8.7.2