[vlc-commits] file audio output: fix float endianess
Rémi Denis-Courmont
git at videolan.org
Thu Nov 1 18:48:41 CET 2012
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Nov 1 19:47:08 2012 +0200| [9bc5a1140817065c3908381fab17d8dfd05441a1] | committer: Rémi Denis-Courmont
file audio output: fix float endianess
(cherry picked from commit d83bc62511663138a20d1a9f66b0d8a442421148)
Conflicts:
modules/audio_output/file.c
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=9bc5a1140817065c3908381fab17d8dfd05441a1
---
modules/audio_output/file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c
index e2c4e31..3cbfe2e 100644
--- a/modules/audio_output/file.c
+++ b/modules/audio_output/file.c
@@ -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;
More information about the vlc-commits
mailing list