diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c index 3ab5b91038..73801d2524 100644 --- a/libavcodec/frame_thread_encoder.c +++ b/libavcodec/frame_thread_encoder.c @@ -142,7 +142,7 @@ int ff_frame_thread_encoder_init(AVCodecContext *avctx, AVDictionary *options){ if (avctx->codec_id == AV_CODEC_ID_HUFFYUV || avctx->codec_id == AV_CODEC_ID_FFVHUFF) { - // huffyuv doesnt support these with multiple frame threads currently + // huffyuv does not support these with multiple frame threads currently if (avctx->context_model > 0 || (avctx->flags & CODEC_FLAG_PASS1)) { av_log(avctx, AV_LOG_WARNING, "Forcing thread count to 1 for huffyuv encoding with first pass or context 1\n"); diff --git a/libavformat/avidec.c b/libavformat/avidec.c index d9a82d6259..91b9c89925 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -438,7 +438,7 @@ static int calculate_bitrate(AVFormatContext *s) maxpos = FFMAX(maxpos, st->index_entries[j-1].pos); lensum += len; } - if (maxpos < avi->io_fsize*9/10) // index doesnt cover the whole file + if (maxpos < avi->io_fsize*9/10) // index does not cover the whole file return 0; if (lensum*9/10 > maxpos || lensum < maxpos*9/10) // frame sum and filesize mismatch return 0; diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index fe19988c07..f7d00c1b4b 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -837,7 +837,7 @@ static int64_t ogg_read_timestamp(AVFormatContext *s, int stream_index, && !ogg_packet(s, &i, &pstart, &psize, pos_arg)) { if (i == stream_index) { struct ogg_stream *os = ogg->streams + stream_index; - // Dont trust the last timestamps of a ogm video + // Do not trust the last timestamps of a ogm video if ( (os->flags & OGG_FLAG_EOS) && !(os->flags & OGG_FLAG_BOS) && os->codec == &ff_ogm_video_codec)