[vlc-commits] file audio output: fix float endianess

Rémi Denis-Courmont git at videolan.org
Thu Nov 1 18:47:44 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Nov  1 19:47:08 2012 +0200| [d83bc62511663138a20d1a9f66b0d8a442421148] | committer: Rémi Denis-Courmont

file audio output: fix float endianess

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d83bc62511663138a20d1a9f66b0d8a442421148
---

 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 0622843..fcdbf79 100644
--- a/modules/audio_output/file.c
+++ b/modules/audio_output/file.c
@@ -96,7 +96,7 @@ static const int format_int[] = { VLC_CODEC_U8,
                                   VLC_CODEC_S16L,
                                   VLC_CODEC_U16B,
                                   VLC_CODEC_S16B,
-                                  VLC_CODEC_FL32,
+                                  VLC_CODEC_F32L,
                                   VLC_CODEC_SPDIFL };
 
 #define FILE_TEXT N_("Output file")
@@ -208,7 +208,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
 
         switch( fmt->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