Commit 0e4586e3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

wav: use PCM FOURCCs with known bit size

(so that channel reordering works)
parent ba1d4198
...@@ -316,6 +316,9 @@ static int Open( vlc_object_t * p_this ) ...@@ -316,6 +316,9 @@ static int Open( vlc_object_t * p_this )
if( FrameInfo_PCM( &p_sys->i_frame_size, &p_sys->i_frame_samples, if( FrameInfo_PCM( &p_sys->i_frame_size, &p_sys->i_frame_samples,
&p_sys->fmt ) ) &p_sys->fmt ) )
goto error; goto error;
p_sys->fmt.i_codec =
vlc_fourcc_GetCodecAudio( p_sys->fmt.i_codec,
p_sys->fmt.audio.i_bitspersample );
break; break;
case VLC_CODEC_ADPCM_MS: case VLC_CODEC_ADPCM_MS:
/* FIXME not sure at all FIXME */ /* FIXME not sure at all FIXME */
......
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