aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-03-06 20:26:32 +0100
committerClément Bœsch <u@pkh.me>2015-03-06 22:26:53 +0100
commit4e2cab5a79f47bc264effae96c2359329e91537f (patch)
treedea06ade3f0d64604c189d4f751b804d43fe6bad /libavformat
parent1dab67b647ef6939d4f92bc7a1c43719a4a0b5f0 (diff)
downloadffmpeg-4e2cab5a79f47bc264effae96c2359329e91537f.tar.gz
fix spelling errors
opttimizations -> optimizations grabing -> grabbing many resource -> many resources isnt -> isn't silcense -> silence Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 482c86f2319c73a0ea414a1845de58febf7b0e30)
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/cache.c4
-rw-r--r--libavformat/rmdec.c2
2 files changed, 3 insertions, 3 deletions
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;