Commit a73d65a8 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix compiler warning about comparing signed unsigned.

parent 9aa09bba
...@@ -156,7 +156,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) ...@@ -156,7 +156,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
GUID subformat_guid = {0, 0, 0x10,{0x80, 0, 0, 0xaa, 0, 0x38, 0x9b, 0x71}}; GUID subformat_guid = {0, 0, 0x10,{0x80, 0, 0, 0xaa, 0, 0x38, 0x9b, 0x71}};
sout_mux_sys_t *p_sys = p_mux->p_sys; sout_mux_sys_t *p_sys = p_mux->p_sys;
WAVEFORMATEX *p_waveformat = &p_sys->waveformat.Format; WAVEFORMATEX *p_waveformat = &p_sys->waveformat.Format;
int i_bytes_per_sample, i_format, i; int i_bytes_per_sample, i_format;
vlc_bool_t b_ext; vlc_bool_t b_ext;
if( p_input->p_fmt->i_cat != AUDIO_ES ) if( p_input->p_fmt->i_cat != AUDIO_ES )
...@@ -178,6 +178,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) ...@@ -178,6 +178,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
p_sys->i_channel_mask = 0; p_sys->i_channel_mask = 0;
if( p_input->p_fmt->audio.i_physical_channels ) if( p_input->p_fmt->audio.i_physical_channels )
{ {
unsigned int i;
for( i = 0; i < sizeof(pi_channels_in)/sizeof(uint32_t); i++ ) for( i = 0; i < sizeof(pi_channels_in)/sizeof(uint32_t); i++ )
{ {
if( p_input->p_fmt->audio.i_physical_channels & pi_channels_src[i]) if( p_input->p_fmt->audio.i_physical_channels & pi_channels_src[i])
......
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