X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fmux%2Fwav.c;h=f2f4091d78f7d7334659ed5d49875f33a214af03;hb=07b32dba57a1588da30f8db91452954962476568;hp=7a8968f08fa78b657a10657e4dc893476e0af4d7;hpb=05492281965ed211badf7e1f4c2220be720d3356;p=vlc diff --git a/modules/mux/wav.c b/modules/mux/wav.c index 7a8968f08f..f2f4091d78 100644 --- a/modules/mux/wav.c +++ b/modules/mux/wav.c @@ -204,7 +204,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) p_sys->i_channel_mask, (int)p_sys->b_chan_reorder ); } - i_format = p_input->p_fmt->i_codec == VLC_FOURCC('f', 'l', '3', '2') ? + i_format = p_input->p_fmt->i_codec == VLC_CODEC_FL32 ? WAVE_FORMAT_IEEE_FLOAT : WAVE_FORMAT_PCM; b_ext = p_sys->b_ext = p_input->p_fmt->audio.i_channels > 2;