[FFmpeg-devel] [PATCH 4/5] lavf: fix typos
Moritz Barsnick
barsnick at gmx.net
Sun Oct 9 13:57:01 EEST 2016
Signed-off-by: Moritz Barsnick <barsnick at gmx.net>
---
libavformat/hlsenc.c | 4 ++--
libavformat/oggparsevp8.c | 2 +-
libavformat/swfdec.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index e0bb44b..9ca2df7 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -516,7 +516,7 @@ static int hls_window(AVFormatContext *s, int last)
}
if (!use_rename && !warned_non_file++)
- av_log(s, AV_LOG_ERROR, "Cannot use rename on non file protocol, this may lead to races and temporarly partial files\n");
+ av_log(s, AV_LOG_ERROR, "Cannot use rename on non file protocol, this may lead to races and temporary partial files\n");
set_http_options(&options, hls);
snprintf(temp_filename, sizeof(temp_filename), use_rename ? "%s.tmp" : "%s", s->filename);
@@ -686,7 +686,7 @@ static int hls_start(AVFormatContext *s)
} else if (av_get_frame_filename2(oc->filename, sizeof(oc->filename),
c->basename, c->wrap ? c->sequence % c->wrap : c->sequence,
AV_FRAME_FILENAME_FLAGS_MULTIPLE) < 0) {
- av_log(oc, AV_LOG_ERROR, "Invalid segment filename template '%s' you can try use -use_localtime 1 with it\n", c->basename);
+ av_log(oc, AV_LOG_ERROR, "Invalid segment filename template '%s' you can try to use -use_localtime 1 with it\n", c->basename);
return AVERROR(EINVAL);
}
if( c->vtt_basename) {
diff --git a/libavformat/oggparsevp8.c b/libavformat/oggparsevp8.c
index 6716dd2..c534ab1 100644
--- a/libavformat/oggparsevp8.c
+++ b/libavformat/oggparsevp8.c
@@ -84,7 +84,7 @@ static uint64_t vp8_gptopts(AVFormatContext *s, int idx,
int invcnt = !((granule >> 30) & 3);
// If page granule is that of an invisible vp8 frame, its pts will be
- // that of the end of the next visible frame. We substract 1 for those
+ // that of the end of the next visible frame. We subtract 1 for those
// to prevent messing up pts calculations.
uint64_t pts = (granule >> 32) - invcnt;
uint32_t dist = (granule >> 3) & 0x07ffffff;
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index 3268c0a..b91560c 100644
--- a/libavformat/swfdec.c
+++ b/libavformat/swfdec.c
@@ -518,7 +518,7 @@ bitmap_end_skip:
}
skip:
if(len<0)
- av_log(s, AV_LOG_WARNING, "Cliping len %d\n", len);
+ av_log(s, AV_LOG_WARNING, "Clipping len %d\n", len);
len = FFMAX(0, len);
avio_skip(pb, len);
}
--
2.7.4
More information about the ffmpeg-devel
mailing list