[vlc-devel] [PATCH 4/9] Fix spelling of "dependent" and variants

Sebastian Ramacher sramacher at debian.org
Sat Jan 30 11:54:27 CET 2016


---
 include/vlc_fourcc.h             | 2 +-
 modules/codec/wmafixed/wmadeci.c | 2 +-
 modules/demux/mp4/libmp4.c       | 4 ++--
 modules/mux/mp4/libmp4mux.c      | 6 +++---
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 1b971db..bb29e6b 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -513,7 +513,7 @@
 #define VLC_CODEC_XYZ12     VLC_FOURCC('X','Y','1','2')
 
 
-/* Special endian dependant values
+/* Special endian dependent values
  * The suffic N means Native
  * The suffix I means Inverted (ie non native) */
 #ifdef WORDS_BIGENDIAN
diff --git a/modules/codec/wmafixed/wmadeci.c b/modules/codec/wmafixed/wmadeci.c
index 41ff8fb..b0997cc 100644
--- a/modules/codec/wmafixed/wmadeci.c
+++ b/modules/codec/wmafixed/wmadeci.c
@@ -383,7 +383,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
         s->nb_block_sizes = 1;
     }
 
-    /* init rate dependant parameters */
+    /* init rate dependent parameters */
     s->use_noise_coding = 1;
     high_freq = itofix64(s->sample_rate) >> 1;
 
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index fe04b0e..3b9bb1b 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -1761,13 +1761,13 @@ static int MP4_ReadBox_dec3( stream_t *p_stream, MP4_Box_t *p_box )
 
 #ifdef MP4_VERBOSE
     msg_Dbg( p_stream,
-        "read box: \"dec3\" bitrate %dkbps %d independant substreams",
+        "read box: \"dec3\" bitrate %dkbps %d independent substreams",
             p_dec3->i_data_rate, p_dec3->i_num_ind_sub);
 
     for (uint8_t i = 0; i < p_dec3->i_num_ind_sub; i++)
         msg_Dbg( p_stream,
                 "\tstream %d: bsid=0x%x bsmod=0x%x acmod=0x%x lfeon=0x%x "
-                "num dependant subs=%d chan_loc=0x%x",
+                "num dependent subs=%d chan_loc=0x%x",
                 i, p_dec3->stream[i].i_bsid, p_dec3->stream[i].i_bsmod, p_dec3->stream[i].i_acmod,
                 p_dec3->stream[i].i_lfeon, p_dec3->stream[i].i_num_dep_sub, p_dec3->stream[i].i_chan_loc );
 #endif
diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index b16b8f2..2f1e96e 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -313,7 +313,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame)
 
     strmtyp = bs_read(&s, 2);
 
-    if (strmtyp & 0x1) // dependant or reserved stream
+    if (strmtyp & 0x1) // dependent or reserved stream
         return NULL;
 
     if (bs_read(&s, 3) != 0x0) // substreamid: we don't support more than 1 stream
@@ -344,7 +344,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame)
             bs_skip(&s, 8); // compr2
     }
 
-    if (strmtyp == 0x1) // dependant stream XXX: unsupported
+    if (strmtyp == 0x1) // dependent stream XXX: unsupported
         if (bs_read1(&s)) // chanmape
             bs_skip(&s, 16); // chanmap
 
@@ -359,7 +359,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame)
         if (lfeon)
             if (bs_read1(&s))
                 bs_skip(&s, 5); // lfemixlevcod
-        if (strmtyp == 0) { // independant stream
+        if (strmtyp == 0) { // independent stream
             if (bs_read1(&s)) // pgmscle
                 bs_skip(&s, 6); // pgmscl
             if (acmod == 0x0) // dual mono
-- 
2.7.0



More information about the vlc-devel mailing list