From 482c86f2319c73a0ea414a1845de58febf7b0e30 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Fri, 6 Mar 2015 20:26:32 +0100 Subject: [PATCH] fix spelling errors opttimizations -> optimizations grabing -> grabbing many resource -> many resources isnt -> isn't silcense -> silence Signed-off-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer --- Changelog | 2 +- doc/indevs.texi | 2 +- doc/protocols.texi | 10 +++++----- libavdevice/v4l2.c | 2 +- libavformat/cache.c | 4 ++-- libavformat/rmdec.c | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Changelog b/Changelog index 55484b7ca9..640b14d9fd 100644 --- a/Changelog +++ b/Changelog @@ -39,7 +39,7 @@ version 2.6: - Canopus HQX decoder - RTP depacketization of T.140 text (RFC 4103) - VP9 RTP payload format (draft 0) experimental depacketizer -- Port MIPS opttimizations to 64-bit +- Port MIPS optimizations to 64-bit version 2.5: diff --git a/doc/indevs.texi b/doc/indevs.texi index 1a49293d31..ccbb39ac0c 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -1109,7 +1109,7 @@ The syntax is: -grab_x @var{x_offset} -grab_y @var{y_offset} @end example -Set the grabing region coordinates. The are expressed as offset from the top left +Set the grabbing region coordinates. They are expressed as offset from the top left corner of the X11 window. The default value is 0. @section decklink diff --git a/doc/protocols.texi b/doc/protocols.texi index 006324c68d..5f6dfa8916 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -63,7 +63,7 @@ cache:@var{URL} Physical concatenation protocol. -Allow to read and seek from many resource in sequence as if they were +Read and seek from many resources in sequence as if they were a unique resource. A URL accepted by this protocol has the syntax: @@ -117,7 +117,7 @@ ffmpeg -i "data:image/gif;base64,R0lGODdhCAAIAMIEAAAAAAAA//8AAP//AP///////////// File access protocol. -Allow to read from or write to a file. +Read from or write to a file. A file URL can have the form: @example @@ -155,7 +155,7 @@ time, which is valuable for files on slow medium. FTP (File Transfer Protocol). -Allow to read from or write to remote resources using FTP protocol. +Read from or write to remote resources using FTP protocol. Following syntax is required. @example @@ -374,7 +374,7 @@ be seekable, so they will fail with the MD5 output protocol. UNIX pipe access protocol. -Allow to read and write from UNIX pipes. +Read and write from UNIX pipes. The accepted syntax is: @example @@ -614,7 +614,7 @@ For more information see: @url{http://www.samba.org/}. Secure File Transfer Protocol via libssh -Allow to read from or write to remote resources using SFTP protocol. +Read from or write to remote resources using SFTP protocol. Following syntax is required. diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 0f64d741b6..fba776464b 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -747,7 +747,7 @@ static int v4l2_set_parameters(AVFormatContext *ctx) } } else { av_log(ctx, AV_LOG_WARNING, - "The driver does not allow to change time per frame\n"); + "The driver does not permit changing the time per frame\n"); } } if (tpf->denominator > 0 && tpf->numerator > 0) { diff --git a/libavformat/cache.c b/libavformat/cache.c index 26e68c5130..d3d12bb4d5 100644 --- a/libavformat/cache.c +++ b/libavformat/cache.c @@ -145,7 +145,7 @@ static int add_entry(URLContext *h, const unsigned char *buf, int size) return 0; fail: - //we could truncate the file to pos here if pos >=0 but ftruncate isnt available in VS so + //we could truncate the file to pos here if pos >=0 but ftruncate isn't available in VS so //for simplicty we just leave the file a bit larger av_free(entry); av_free(node); @@ -300,7 +300,7 @@ static int cache_close(URLContext *h) #define D AV_OPT_FLAG_DECODING_PARAM static const AVOption options[] = { - { "read_ahead_limit", "Amount in bytes that may be read ahead when seeking isnt supported, -1 for unlimited", OFFSET(read_ahead_limit), AV_OPT_TYPE_INT, { .i64 = 65536 }, -1, INT_MAX, D }, + { "read_ahead_limit", "Amount in bytes that may be read ahead when seeking isn't supported, -1 for unlimited", OFFSET(read_ahead_limit), AV_OPT_TYPE_INT, { .i64 = 65536 }, -1, INT_MAX, D }, {NULL}, }; diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 9468d9764f..727d065b8f 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -708,7 +708,7 @@ static int rm_assemble_video_frame(AVFormatContext *s, AVIOContext *pb, int64_t *timestamp) { int hdr; - int seq = 0, pic_num = 0, len2 = 0, pos = 0; //init to silcense compiler warning + int seq = 0, pic_num = 0, len2 = 0, pos = 0; //init to silence compiler warning int type; int ret;