[vlc-devel] [PATCH 05/10] misc: fix spelling mistakes

Eric Engestrom eric at engestrom.ch
Sat Apr 2 16:50:35 CEST 2016


Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 src/misc/es_format.c   | 2 +-
 src/misc/fifo.c        | 2 +-
 src/misc/fourcc_list.h | 2 +-
 src/misc/interrupt.c   | 4 ++--
 src/misc/update.c      | 4 ++--
 src/misc/variables.c   | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/misc/es_format.c b/src/misc/es_format.c
index ece9ea6..bdd57bb 100644
--- a/src/misc/es_format.c
+++ b/src/misc/es_format.c
@@ -248,7 +248,7 @@ void video_format_ScaleCropAr( video_format_t *p_dst, const video_format_t *p_sr
                 p_dst->i_sar_num, p_dst->i_sar_den, 65536);
 }
 
-//Simplify transforms to have something more managable. Order: angle, hflip.
+//Simplify transforms to have something more manageable. Order: angle, hflip.
 static void transform_GetBasicOps( video_transform_t transform,
                                    unsigned *restrict angle,
                                    bool *restrict hflip )
diff --git a/src/misc/fifo.c b/src/misc/fifo.c
index efcc0f0..f744b74 100644
--- a/src/misc/fifo.c
+++ b/src/misc/fifo.c
@@ -329,7 +329,7 @@ block_t *block_FifoGet(block_fifo_t *fifo)
  *
  * @warning This function leaves the block in the FIFO.
  * You need to protect against concurrent threads who could dequeue the block.
- * Preferrably, there should be only one thread reading from the FIFO.
+ * Preferably, there should be only one thread reading from the FIFO.
  *
  * @warning This function is undefined if the FIFO is empty.
  *
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index 3c2aa79..0efac6e 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -419,7 +419,7 @@ static const staticentry_t p_list_video[] = {
         A("WMV3"),
         A("wmv3"),
 
-    /* WMVA is the VC-1 codec before the standardization proces,
+    /* WMVA is the VC-1 codec before the standardization process,
      * it is not bitstream compatible and deprecated  */
     B(VLC_CODEC_WMVA, "Windows Media Video Advanced Profile"),
         A("WMVA"),
diff --git a/src/misc/interrupt.c b/src/misc/interrupt.c
index 979d5f3..54c9377 100644
--- a/src/misc/interrupt.c
+++ b/src/misc/interrupt.c
@@ -171,7 +171,7 @@ static vlc_interrupt_t *vlc_interrupt_get(void)
  * Prepares to enter interruptible wait.
  * @param cb callback to interrupt the wait (i.e. wake up the thread)
  * @param data opaque data pointer for the callback
- * @note Any <b>succesful</b> call <b>must</b> be paired with a call to
+ * @note Any <b>successful</b> call <b>must</b> be paired with a call to
  * vlc_interrupt_finish().
  */
 static void vlc_interrupt_prepare(vlc_interrupt_t *ctx,
@@ -470,7 +470,7 @@ int vlc_poll_i11e(struct pollfd *fds, unsigned nfds, int timeout)
  *
  * So in the event that more than one thread tries to read or write on the same
  * file at the same time, there is a race condition where these functions might
- * block inspite of an interruption. This should never happen in practice.
+ * block in spite of an interruption. This should never happen in practice.
  */
 
 /**
diff --git a/src/misc/update.c b/src/misc/update.c
index 414b895..f7359c1 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -236,7 +236,7 @@ static bool GetUpdateFile( update_t *p_update )
                     &p_update->release.i_revision, &p_update->release.i_extra);
     if( ret != 3 && ret != 4 )
     {
-            msg_Err( p_update->p_libvlc, "Update version false formated" );
+            msg_Err( p_update->p_libvlc, "Update version false formatted" );
             goto error;
     }
 
@@ -566,7 +566,7 @@ static void* update_DownloadReal( void *obj )
     psz_tmpdestfile = strrchr( p_update->release.psz_url, '/' );
     if( !psz_tmpdestfile )
     {
-        msg_Err( p_udt, "The URL %s is badly formated",
+        msg_Err( p_udt, "The URL %s is badly formatted",
                  p_update->release.psz_url );
         goto end;
     }
diff --git a/src/misc/variables.c b/src/misc/variables.c
index 50cdcea..d480ebd 100644
--- a/src/misc/variables.c
+++ b/src/misc/variables.c
@@ -1160,7 +1160,7 @@ void var_OptionParse( vlc_object_t *p_obj, const char *psz_option,
     }
 
     /* Create the variable in the input object.
-     * Children of the input object will be able to retreive this value
+     * Children of the input object will be able to retrieve this value
      * thanks to the inheritance property of the object variables. */
     var_Create( p_obj, psz_name, i_type );
 
-- 
2.8.0



More information about the vlc-devel mailing list