From 468c596a31ca90012ed78cfe6966ca6f3ec11f38 Mon Sep 17 00:00:00 2001 From: Moritz Barsnick Date: Sun, 9 Oct 2016 12:57:01 +0200 Subject: lavf: fix typos Signed-off-by: Moritz Barsnick Signed-off-by: Michael Niedermayer --- 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 e0bb44b364..9ca2df7bf2 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 6716dd2f45..c534ab117d 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 3268c0aa37..b91560c56c 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); } -- cgit v1.2.3