Browse code

Grammar fixes

Originally committed as revision 23961 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/07/02 09:03:48
Showing 4 changed files
... ...
@@ -204,8 +204,8 @@ void show_protocols(void);
204 204
 void show_pix_fmts(void);
205 205
 
206 206
 /**
207
- * Return a positive value if reads from standard input a line
208
- * starting with [yY], otherwise returns 0.
207
+ * Return a positive value if a line read from standard input
208
+ * starts with [yY], otherwise return 0.
209 209
  */
210 210
 int read_yesno(void);
211 211
 
... ...
@@ -454,7 +454,7 @@ static void parse_bs_info(const uint32_t bs_info, unsigned int n,
454 454
 }
455 455
 
456 456
 
457
-/** Read and decodes a Rice codeword.
457
+/** Read and decode a Rice codeword.
458 458
  */
459 459
 static int32_t decode_rice(GetBitContext *gb, unsigned int k)
460 460
 {
... ...
@@ -490,8 +490,8 @@ static void parcor_to_lpc(unsigned int k, const int32_t *par, int32_t *cof)
490 490
 }
491 491
 
492 492
 
493
-/** Read block switching field if necessary and sets actual block sizes.
494
- *  Also assures that the block sizes of the last frame correspond to the
493
+/** Read block switching field if necessary and set actual block sizes.
494
+ *  Also assure that the block sizes of the last frame correspond to the
495 495
  *  actual number of samples.
496 496
  */
497 497
 static void get_block_sizes(ALSDecContext *ctx, unsigned int *div_blocks,
... ...
@@ -980,7 +980,7 @@ static int decode_block(ALSDecContext *ctx, ALSBlockData *bd)
980 980
 }
981 981
 
982 982
 
983
-/** Read and decodes block data successively.
983
+/** Read and decode block data successively.
984 984
  */
985 985
 static int read_decode_block(ALSDecContext *ctx, ALSBlockData *bd)
986 986
 {
... ...
@@ -48,7 +48,7 @@
48 48
 #define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
49 49
 
50 50
 /**
51
- * Identifie the syntax and semantics of the bitstream.
51
+ * Identify the syntax and semantics of the bitstream.
52 52
  * The principle is roughly:
53 53
  * Two decoders with the same ID can decode the same streams.
54 54
  * Two encoders with the same ID can encode compatible streams.
... ...
@@ -3533,7 +3533,7 @@ attribute_deprecated int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtit
3533 3533
 
3534 3534
 /**
3535 3535
  * Decode a subtitle message.
3536
- * Return a negative value on error, otherwise returns the number of bytes used.
3536
+ * Return a negative value on error, otherwise return the number of bytes used.
3537 3537
  * If no subtitle could be decompressed, got_sub_ptr is zero.
3538 3538
  * Otherwise, the subtitle is stored in *sub.
3539 3539
  *
... ...
@@ -594,7 +594,7 @@ static void lspf2lpc(const float *lspf, float *lpc)
594 594
 }
595 595
 
596 596
 /**
597
- * Interpolate LSP frequencies and computes LPC coefficients
597
+ * Interpolate LSP frequencies and compute LPC coefficients
598 598
  * for a given bitrate & pitch subframe.
599 599
  *
600 600
  * TIA/EIA/IS-733 2.4.3.3.4, 2.4.8.7.2