Five small typo fixes in code comments only, no behavior change:

- libavfilter/vf_dctdnoiz.c: "in in addition" -> "in addition"
- libavformat/mxfdec.c: "types of of indirect" -> "types of indirect"
- libavformat/av1.h: "from the the provided buffer" -> "from the provided 
buffer"
- libavcodec/jpeg2000_parser.c: "end of of the marker" -> "end of the marker"
- libavcodec/vlc.h: "bit pattern of of each" -> "bit pattern of each"
---
 libavcodec/jpeg2000_parser.c | 2 +-
 libavcodec/vlc.h             | 2 +-
 libavfilter/vf_dctdnoiz.c    | 2 +-
 libavformat/av1.h            | 2 +-
 libavformat/mxfdec.c         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/jpeg2000_parser.c b/libavcodec/jpeg2000_parser.c
index a5dcc9c..3063a50 100644
--- a/libavcodec/jpeg2000_parser.c
+++ b/libavcodec/jpeg2000_parser.c
@@ -169,7 +169,7 @@ static int find_frame_end(JPEG2000ParserContext *m, const 
uint8_t *buf, int buf_
                 // Calculate number of bytes to skip to get to end of the next 
marker.
                 m->skip_bytes = (state64 & 0xFFFF)-1;
 
-                // If the next marker is an info marker, skip to the end of of 
the marker length.
+                // If the next marker is an info marker, skip to the end of 
the marker length.
                 if (i + m->skip_bytes + 1 < buf_size) {
                     uint32_t next_state = (buf[i + m->skip_bytes] << 8) | 
buf[i + m->skip_bytes + 1];
                     if (info_marker(next_state)) {
diff --git a/libavcodec/vlc.h b/libavcodec/vlc.h
index 7eecd96..b240e85 100644
--- a/libavcodec/vlc.h
+++ b/libavcodec/vlc.h
@@ -92,7 +92,7 @@ typedef struct VLC_MULTI {
  *                         correspond to valid codes; entries == 0 will be 
skipped.
  * @param[in] bits_wrap    Stride (in bytes) of the bits table.
  * @param[in] codes_size   Size of the bits. 1, 2 and 4 are supported.
- * @param[in] codes        Table which gives the bit pattern of of each vlc 
code.
+ * @param[in] codes        Table which gives the bit pattern of each vlc code.
  * @param[in] codes_wrap   Stride (in bytes) of the codes table.
  * @param[in] codes_size   Size of the codes. 1, 2 and 4 are supported.
  * @param[in] symbols      The symbols, i.e. what is returned from get_vlc2()
diff --git a/libavfilter/vf_dctdnoiz.c b/libavfilter/vf_dctdnoiz.c
index 9241b3a..acfb52a 100644
--- a/libavfilter/vf_dctdnoiz.c
+++ b/libavfilter/vf_dctdnoiz.c
@@ -595,7 +595,7 @@ static int config_input(AVFilterLink *inlink)
     }
 
     /* each slice will need to (pre & re)process the top and bottom block of
-     * the previous one in in addition to its processing area. This is because
+     * the previous one in addition to its processing area. This is because
      * each pixel is averaged by all the surrounding blocks */
     slice_h = (int)ceilf(s->pr_height / (float)s->nb_threads) + (s->bsize - 1) 
* 2;
     for (i = 0; i < s->nb_threads; i++) {
diff --git a/libavformat/av1.h b/libavformat/av1.h
index c67a485..c2dac73 100644
--- a/libavformat/av1.h
+++ b/libavformat/av1.h
@@ -78,7 +78,7 @@ int ff_av1_filter_obus_buf(const uint8_t *in, uint8_t **out,
                            int *size, int *offset);
 
 /**
- * Parses a Sequence Header from the the provided buffer.
+ * Parses a Sequence Header from the provided buffer.
  *
  * @param seq pointer to the AV1SequenceParameters where the parsed values will
  *            be written
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index a5a8417..607f658 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1569,7 +1569,7 @@ static int mxf_read_indirect_value(void *arg, AVIOContext 
*pb, int size)
     ret = ffio_read_size(pb, key, 17);
     if (ret < 0)
         return ret;
-    /* TODO: handle other types of of indirect values */
+    /* TODO: handle other types of indirect values */
     if (memcmp(key, mxf_indirect_value_utf16le, 17) == 0) {
         return mxf_read_utf16le_string(pb, size - 17, &tagged_value->value);
     } else if (memcmp(key, mxf_indirect_value_utf16be, 17) == 0) {
-- 
2.49.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to