[FFmpeg-cvslog] doc: fix spelling errors

Andreas Cadhalpun git at videolan.org
Thu Jun 18 22:18:17 CEST 2015


ffmpeg | branch: release/2.7 | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Sat Jun 13 21:34:40 2015 +0200| [265db4154097a754107dcc7dcd8e13a8bd755db1] | committer: Michael Niedermayer

doc: fix spelling errors

Neccessary -> Necessary
formated   -> formatted
thee       -> the
eventhough -> even though
seperately -> separately

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
(cherry picked from commit ed0b1db640110cccdbf0db1d882fb952cf3a130d)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=265db4154097a754107dcc7dcd8e13a8bd755db1
---

 doc/examples/transcoding.c |    2 +-
 libavcodec/ass_split.h     |    2 +-
 libavcodec/bitstream.c     |    2 +-
 libavformat/avio.h         |    2 +-
 libavformat/flvenc.c       |    2 +-
 libavutil/log.h            |    2 +-
 libavutil/pixfmt.h         |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c
index 2a8220e..980e1f1 100644
--- a/doc/examples/transcoding.c
+++ b/doc/examples/transcoding.c
@@ -117,7 +117,7 @@ static int open_output_file(const char *filename)
             /* in this example, we choose transcoding to same codec */
             encoder = avcodec_find_encoder(dec_ctx->codec_id);
             if (!encoder) {
-                av_log(NULL, AV_LOG_FATAL, "Neccessary encoder not found\n");
+                av_log(NULL, AV_LOG_FATAL, "Necessary encoder not found\n");
                 return AVERROR_INVALIDDATA;
             }
 
diff --git a/libavcodec/ass_split.h b/libavcodec/ass_split.h
index c912252..defb5cc 100644
--- a/libavcodec/ass_split.h
+++ b/libavcodec/ass_split.h
@@ -103,7 +103,7 @@ typedef struct ASSSplitContext ASSSplitContext;
  * Split a full ASS file or a ASS header from a string buffer and store
  * the split structure in a newly allocated context.
  *
- * @param buf String containing the ASS formated data.
+ * @param buf String containing the ASS formatted data.
  * @return Newly allocated struct containing split data.
  */
 ASSSplitContext *ff_ass_split(const char *buf);
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
index 20eae6b..0074234 100644
--- a/libavcodec/bitstream.c
+++ b/libavcodec/bitstream.c
@@ -247,7 +247,7 @@ static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
 
 /* Build VLC decoding tables suitable for use with get_vlc().
 
-   'nb_bits' set thee decoding table size (2^nb_bits) entries. The
+   'nb_bits' set the decoding table size (2^nb_bits) entries. The
    bigger it is, the faster is the decoding. But it should not be too
    big to save memory and L1 cache. '9' is a good compromise.
 
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 5c5aa6d..0730593 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -79,7 +79,7 @@ typedef struct AVIODirEntry {
     char *name;                           /**< Filename */
     int type;                             /**< Type of the entry */
     int utf8;                             /**< Set to 1 when name is encoded with UTF-8, 0 otherwise.
-                                               Name can be encoded with UTF-8 eventhough 0 is set. */
+                                               Name can be encoded with UTF-8 even though 0 is set. */
     int64_t size;                         /**< File size in bytes, -1 if unknown. */
     int64_t modification_timestamp;       /**< Time of last modification in microseconds since unix
                                                epoch, -1 if unknown. */
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index e4717ca..e217ba8 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -562,7 +562,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
     }
 
     if (enc->codec_id == AV_CODEC_ID_H264 || enc->codec_id == AV_CODEC_ID_MPEG4) {
-        /* check if extradata looks like mp4 formated */
+        /* check if extradata looks like mp4 formatted */
         if (enc->extradata_size > 0 && *(uint8_t*)enc->extradata != 1)
             if ((ret = ff_avc_parse_nal_units_buf(pkt->data, &data, &size)) < 0)
                 return ret;
diff --git a/libavutil/log.h b/libavutil/log.h
index 57769b8..db7eb3f 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -309,7 +309,7 @@ AVClassCategory av_default_get_category(void *ptr);
 
 /**
  * Format a line of log the same way as the default callback.
- * @param line          buffer to receive the formated line
+ * @param line          buffer to receive the formatted line
  * @param line_size     size of the buffer
  * @param print_prefix  used to store whether the prefix must be printed;
  *                      must point to a persistent integer initially set to 1
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 58e3544..eef6444 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -530,7 +530,7 @@ enum AVColorRange {
  * Illustration showing the location of the first (top left) chroma sample of the
  * image, the left shows only luma, the right
  * shows the location of the chroma sample, the 2 could be imagined to overlay
- * each other but are drawn seperately due to limitations of ASCII
+ * each other but are drawn separately due to limitations of ASCII
  *
  *                1st 2nd       1st 2nd horizontal luma sample positions
  *                 v   v         v   v



More information about the ffmpeg-cvslog mailing list