[vlc-devel] [PATCH 5/7] Fix spelling of 'subtract'

Thomas Guillem thomas at gllm.fr
Tue Sep 26 10:04:01 CEST 2017


Hello,


This patch need to be splitted in one patch per module/file.

On Tue, Sep 26, 2017, at 01:51, Sebastian Ramacher wrote:
> Signed-off-by: Sebastian Ramacher <sramacher at debian.org>
> ---
>  include/vlc_block.h             | 4 ++--
>  modules/access/dtv/access.c     | 2 +-
>  modules/audio_output/vlcpulse.c | 2 +-
>  modules/demux/subtitle.c        | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/vlc_block.h b/include/vlc_block.h
> index 2bc230f2c7..1c94783016 100644
> --- a/include/vlc_block.h
> +++ b/include/vlc_block.h
> @@ -158,9 +158,9 @@ VLC_API block_t *block_TryRealloc(block_t *, ssize_t
> pre, size_t body) VLC_USED;
>   *
>   * @return the reallocated block on succes, NULL on error.
>   *
> - * @note Skipping leading bytes can be achieved directly by substracting
> from
> + * @note Skipping leading bytes can be achieved directly by subtracting
> from
>   * block_t.i_buffer and adding block_t.p_buffer.
> - * @note Discard trailing bytes can be achieved directly by substracting
> from
> + * @note Discard trailing bytes can be achieved directly by subtracting
> from
>   * block_t.i_buffer.
>   * @note On error, the block is discarded.
>   * To avoid that, use block_TryRealloc() instead.
> diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
> index 676a36d7c0..a5fc83d872 100644
> --- a/modules/access/dtv/access.c
> +++ b/modules/access/dtv/access.c
> @@ -183,7 +183,7 @@ static const char *const polarization_user[] = {
> N_("Unspecified (0V)"),
>  #define LNB_LOW_TEXT N_("Local oscillator low frequency (kHz)")
>  #define LNB_HIGH_TEXT N_("Local oscillator high frequency (kHz)")
>  #define LNB_LONGTEXT N_( \
> -    "The downconverter (LNB) will substract the local oscillator
> frequency " \
> +    "The downconverter (LNB) will subtract the local oscillator
> frequency " \
>      "from the satellite transmission frequency. " \
>      "The intermediate frequency (IF) on the RF cable is the result.")
>  #define LNB_SWITCH_TEXT N_("Universal LNB switch frequency (kHz)")
> diff --git a/modules/audio_output/vlcpulse.c
> b/modules/audio_output/vlcpulse.c
> index 42aea5cb35..4976cae2bc 100644
> --- a/modules/audio_output/vlcpulse.c
> +++ b/modules/audio_output/vlcpulse.c
> @@ -256,7 +256,7 @@ mtime_t vlc_pa_get_latency(vlc_object_t *obj,
> pa_context *ctx, pa_stream *s)
>       * when the write index of a playback stream is behind its read
>       index.
>       * playback streams. So use the lower-level
>       pa_stream_get_timing_info()
>       * directly to obtain the correct write index and convert it to a
>       time,
> -     * and compute the correct latency value by substracting the stream
> (read)
> +     * and compute the correct latency value by subtracting the stream
> (read)
>       * time.
>       *
>       * On the read side, pa_stream_get_time() is used instead of
> diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
> index 71302807e4..89f1198114 100644
> --- a/modules/demux/subtitle.c
> +++ b/modules/demux/subtitle.c
> @@ -919,7 +919,7 @@ static int Demux( demux_t *p_demux )
>  static int subtitle_cmp( const void *first, const void *second )
>  {
>      int64_t result = ((subtitle_t *)(first))->i_start - ((subtitle_t
>      *)(second))->i_start;
> -    /* Return -1, 0 ,1, and not directly substraction
> +    /* Return -1, 0 ,1, and not directly subtraction
>       * as result can be > INT_MAX */
>      return result == 0 ? 0 : result > 0 ? 1 : -1;
>  }
> -- 
> 2.14.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list