Commit 9bc5a114 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

file audio output: fix float endianess

(cherry picked from commit d83bc62511663138a20d1a9f66b0d8a442421148)

Conflicts:
	modules/audio_output/file.c
parent 88fe9f44
......@@ -98,7 +98,7 @@ static const int format_int[] = { VLC_CODEC_U8,
VLC_CODEC_U16B,
VLC_CODEC_S16B,
VLC_CODEC_FI32,
VLC_CODEC_FL32,
VLC_CODEC_F32L,
VLC_CODEC_SPDIFL };
#define FILE_TEXT N_("Output file")
......@@ -218,7 +218,7 @@ static int Open( vlc_object_t * p_this )
switch( p_aout->format.i_format )
{
case VLC_CODEC_FL32:
case VLC_CODEC_F32L:
wh->Format = WAVE_FORMAT_IEEE_FLOAT;
wh->BitsPerSample = sizeof(float) * 8;
break;
......
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