Browse code

doc: avoid incorrect phrase 'allows to'

Also fix typo found by Lou Logan:
Sacrifying -> Sacrificing

Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>

Andreas Cadhalpun authored on 2015/06/15 03:28:28
Showing 12 changed files
... ...
@@ -574,7 +574,7 @@ easier to use. The changes are:
574 574
           all the stream in the first input file, except for the second audio
575 575
           stream'.
576 576
     * There is a new option -c (or -codec) for choosing the decoder/encoder to
577
-      use, which allows to precisely specify target stream(s) consistently with
577
+      use, which makes it possible to precisely specify target stream(s) consistently with
578 578
       other options. E.g. -c:v lib264 sets the codec for all video streams, -c:a:0
579 579
       libvorbis sets the codec for the first audio stream and -c copy copies all
580 580
       the streams without reencoding. Old -vcodec/-acodec/-scodec options are now
... ...
@@ -95,7 +95,7 @@ This decoder aims to implement the complete FLAC specification from Xiph.
95 95
 
96 96
 @item -use_buggy_lpc
97 97
 The lavc FLAC encoder used to produce buggy streams with high lpc values
98
-(like the default value). This option allows to decode such streams
98
+(like the default value). This option makes it possible to decode such streams
99 99
 correctly by using lavc's old buggy lpc logic for decoding.
100 100
 
101 101
 @end table
... ...
@@ -265,7 +265,7 @@ static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
265 265
    'xxx_size' : gives the number of bytes of each entry of the 'bits'
266 266
    or 'codes' tables.
267 267
 
268
-   'wrap' and 'size' allows to use any memory configuration and types
268
+   'wrap' and 'size' make it possible to use any memory configuration and types
269 269
    (byte/word/long) to store the 'bits', 'codes', and 'symbols' tables.
270 270
 
271 271
    'use_static' should be set to 1 for tables, which should be freed
... ...
@@ -76,7 +76,7 @@
76 76
  *     encodes them with just enough bits to reproduce the background noise.
77 77
  *
78 78
  * Discontinuous Transmission (DTX)
79
- *     DTX is an addition to VAD/VBR operation, that allows to stop transmitting
79
+ *     DTX is an addition to VAD/VBR operation, that makes it possible to stop transmitting
80 80
  *     completely when the background noise is stationary.
81 81
  *     In file-based operation only 5 bits are used for such frames.
82 82
  */
... ...
@@ -504,7 +504,7 @@ static int hadamard8_diff8x8_altivec(MpegEncContext *s, uint8_t *dst,
504 504
 }
505 505
 
506 506
 /*
507
- * 16x8 works with 16 elements; it allows to avoid replicating loads, and
507
+ * 16x8 works with 16 elements; it can avoid replicating loads, and
508 508
  * gives the compiler more room for scheduling. It's only used from
509 509
  * inside hadamard8_diff16_altivec.
510 510
  *
... ...
@@ -3286,7 +3286,7 @@ static void decode_b(AVCodecContext *ctx, int row, int col,
3286 3286
     }
3287 3287
 
3288 3288
     // emulated overhangs if the stride of the target buffer can't hold. This
3289
-    // allows to support emu-edge and so on even if we have large block
3289
+    // makes it possible to support emu-edge and so on even if we have large block
3290 3290
     // overhangs
3291 3291
     emu[0] = (col + w4) * 8 > f->linesize[0] ||
3292 3292
              (row + h4) > s->rows;
... ...
@@ -80,7 +80,7 @@
80 80
     "movq      %%mm"#R1", "#OFF"(%1)   \n\t"    \
81 81
     "add       %2, %0                  \n\t"
82 82
 
83
-/** Sacrifying mm6 allows to pipeline loads from src */
83
+/** Sacrificing mm6 makes it possible to pipeline loads from src */
84 84
 static void vc1_put_ver_16b_shift2_mmx(int16_t *dst,
85 85
                                        const uint8_t *src, x86_reg stride,
86 86
                                        int rnd, int64_t shift)
... ...
@@ -27,7 +27,7 @@
27 27
  * @author Benoit Fouet ( benoit fouet free fr )
28 28
  * @author Nicolas George ( nicolas george normalesup org )
29 29
  *
30
- * This avdevice decoder allows to capture audio from an ALSA (Advanced
30
+ * This avdevice decoder can capture audio from an ALSA (Advanced
31 31
  * Linux Sound Architecture) device.
32 32
  *
33 33
  * The filename parameter is the name of an ALSA PCM device capable of
... ...
@@ -26,7 +26,7 @@
26 26
  * @author Luca Abeni ( lucabe72 email it )
27 27
  * @author Benoit Fouet ( benoit fouet free fr )
28 28
  *
29
- * This avdevice encoder allows to play audio to an ALSA (Advanced Linux
29
+ * This avdevice encoder can play audio to an ALSA (Advanced Linux
30 30
  * Sound Architecture) device.
31 31
  *
32 32
  * The filename parameter is the name of an ALSA PCM device capable of
... ...
@@ -324,7 +324,7 @@ int avdevice_dev_to_app_control_message(struct AVFormatContext *s,
324 324
  * Following API allows user to probe device capabilities (supported codecs,
325 325
  * pixel formats, sample formats, resolutions, channel counts, etc).
326 326
  * It is build on top op AVOption API.
327
- * Queried capabilities allows to set up converters of video or audio
327
+ * Queried capabilities make it possible to set up converters of video or audio
328 328
  * parameters that fit to the device.
329 329
  *
330 330
  * List of capabilities that can be queried:
... ...
@@ -67,7 +67,7 @@
67 67
  * with an AVFMT_NOFILE format).
68 68
  *
69 69
  * @section lavf_options Passing options to (de)muxers
70
- * Lavf allows to configure muxers and demuxers using the @ref avoptions
70
+ * It is possible to configure lavf muxers and demuxers using the @ref avoptions
71 71
  * mechanism. Generic (format-independent) libavformat options are provided by
72 72
  * AVFormatContext, they can be examined from a user program by calling
73 73
  * av_opt_next() / av_opt_find() on an allocated AVFormatContext (or its AVClass
... ...
@@ -234,7 +234,7 @@
234 234
  * @defgroup lavf_io I/O Read/Write
235 235
  * @{
236 236
  * @section lavf_io_dirlist Directory listing
237
- * The directory listing API allows to list files on remote servers.
237
+ * The directory listing API makes it possible to list files on remote servers.
238 238
  *
239 239
  * Some of possible use cases:
240 240
  * - an "open file" dialog to choose files from a remote location,
... ...
@@ -2361,7 +2361,7 @@ int av_write_uncoded_frame(AVFormatContext *s, int stream_index,
2361 2361
 /**
2362 2362
  * Write a uncoded frame to an output media file.
2363 2363
  *
2364
- * If the muxer supports it, this function allows to write an AVFrame
2364
+ * If the muxer supports it, this function makes it possible to write an AVFrame
2365 2365
  * structure directly, without encoding it into a packet.
2366 2366
  * It is mostly useful for devices and similar special muxers that use raw
2367 2367
  * video or PCM data and will not serialize it into a byte stream.
... ...
@@ -213,7 +213,7 @@
213 213
  * In some cases it may be more convenient to put all options into an
214 214
  * AVDictionary and call av_opt_set_dict() on it. A specific case of this
215 215
  * are the format/codec open functions in lavf/lavc which take a dictionary
216
- * filled with option as a parameter. This allows to set some options
216
+ * filled with option as a parameter. This makes it possible to set some options
217 217
  * that cannot be set otherwise, since e.g. the input file format is not known
218 218
  * before the file is actually opened.
219 219
  */