X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faudio_filter%2Fconverter%2Fdtstospdif.c;h=11cdeff2f741cece0eaa2f4a1c010aef68131d88;hb=2ea3b5fc8afa530afc65d520b33ef7edc354f775;hp=2ba3a92286d5bf19766e48f31a714a9f35525792;hpb=7676e68d7f5a3da50e1417ca9e142925a3b43040;p=vlc diff --git a/modules/audio_filter/converter/dtstospdif.c b/modules/audio_filter/converter/dtstospdif.c index 2ba3a92286..11cdeff2f7 100644 --- a/modules/audio_filter/converter/dtstospdif.c +++ b/modules/audio_filter/converter/dtstospdif.c @@ -161,8 +161,8 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter, for( i_frame = 0; i_frame < 3; i_frame++ ) { uint16_t i_length_padded = i_length; - byte_t * p_out = p_out_buf->p_buffer + (i_frame * i_fz); - byte_t * p_in = p_filter->p_sys->p_buf + (i_frame * i_length); + uint8_t * p_out = p_out_buf->p_buffer + (i_frame * i_fz); + uint8_t * p_in = p_filter->p_sys->p_buf + (i_frame * i_length); switch( p_in_buf->i_nb_samples ) { @@ -197,7 +197,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter, swab( p_in, p_out + 8, i_length ); #else uint16_t i; - byte_t * p_tmp, tmp; + uint8_t * p_tmp, tmp; p_tmp = p_out + 8; for( i = i_length / 2 ; i-- ; ) {