Commit b7406e88 authored by Sebastian Ramacher's avatar Sebastian Ramacher Committed by Jean-Baptiste Kempf

Fix spelling of "dependent" and variants

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9604e6dd
...@@ -513,7 +513,7 @@ ...@@ -513,7 +513,7 @@
#define VLC_CODEC_XYZ12 VLC_FOURCC('X','Y','1','2') #define VLC_CODEC_XYZ12 VLC_FOURCC('X','Y','1','2')
/* Special endian dependant values /* Special endian dependent values
* The suffic N means Native * The suffic N means Native
* The suffix I means Inverted (ie non native) */ * The suffix I means Inverted (ie non native) */
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
......
...@@ -383,7 +383,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx) ...@@ -383,7 +383,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
s->nb_block_sizes = 1; s->nb_block_sizes = 1;
} }
/* init rate dependant parameters */ /* init rate dependent parameters */
s->use_noise_coding = 1; s->use_noise_coding = 1;
high_freq = itofix64(s->sample_rate) >> 1; high_freq = itofix64(s->sample_rate) >> 1;
......
...@@ -1761,13 +1761,13 @@ static int MP4_ReadBox_dec3( stream_t *p_stream, MP4_Box_t *p_box ) ...@@ -1761,13 +1761,13 @@ static int MP4_ReadBox_dec3( stream_t *p_stream, MP4_Box_t *p_box )
#ifdef MP4_VERBOSE #ifdef MP4_VERBOSE
msg_Dbg( p_stream, 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); p_dec3->i_data_rate, p_dec3->i_num_ind_sub);
for (uint8_t i = 0; i < p_dec3->i_num_ind_sub; i++) for (uint8_t i = 0; i < p_dec3->i_num_ind_sub; i++)
msg_Dbg( p_stream, msg_Dbg( p_stream,
"\tstream %d: bsid=0x%x bsmod=0x%x acmod=0x%x lfeon=0x%x " "\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, 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 ); p_dec3->stream[i].i_lfeon, p_dec3->stream[i].i_num_dep_sub, p_dec3->stream[i].i_chan_loc );
#endif #endif
......
...@@ -313,7 +313,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame) ...@@ -313,7 +313,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame)
strmtyp = bs_read(&s, 2); strmtyp = bs_read(&s, 2);
if (strmtyp & 0x1) // dependant or reserved stream if (strmtyp & 0x1) // dependent or reserved stream
return NULL; return NULL;
if (bs_read(&s, 3) != 0x0) // substreamid: we don't support more than 1 stream 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) ...@@ -344,7 +344,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame)
bs_skip(&s, 8); // compr2 bs_skip(&s, 8); // compr2
} }
if (strmtyp == 0x1) // dependant stream XXX: unsupported if (strmtyp == 0x1) // dependent stream XXX: unsupported
if (bs_read1(&s)) // chanmape if (bs_read1(&s)) // chanmape
bs_skip(&s, 16); // chanmap bs_skip(&s, 16); // chanmap
...@@ -359,7 +359,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame) ...@@ -359,7 +359,7 @@ static bo_t *GetDec3Tag(es_format_t *p_fmt, block_t *a52_frame)
if (lfeon) if (lfeon)
if (bs_read1(&s)) if (bs_read1(&s))
bs_skip(&s, 5); // lfemixlevcod bs_skip(&s, 5); // lfemixlevcod
if (strmtyp == 0) { // independant stream if (strmtyp == 0) { // independent stream
if (bs_read1(&s)) // pgmscle if (bs_read1(&s)) // pgmscle
bs_skip(&s, 6); // pgmscl bs_skip(&s, 6); // pgmscl
if (acmod == 0x0) // dual mono if (acmod == 0x0) // dual mono
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment