[vlc-commits] avformat: add non-native float audio (fixes #8191)

Rémi Denis-Courmont git at videolan.org
Mon Feb 18 18:40:58 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 18 19:40:14 2013 +0200| [99771bb540e472dda40711b0b65f02e0079da1f7] | committer: Rémi Denis-Courmont

avformat: add non-native float audio (fixes #8191)

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

 modules/codec/avcodec/fourcc.c |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 31e648d..db75860 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -427,13 +427,10 @@ static const struct
     { VLC_CODEC_ALAW, CODEC_ID_PCM_ALAW, AUDIO_ES },
     { VLC_CODEC_MULAW, CODEC_ID_PCM_MULAW, AUDIO_ES },
     { VLC_CODEC_S24DAUD, CODEC_ID_PCM_S24DAUD, AUDIO_ES },
-#if ( !defined( WORDS_BIGENDIAN ) )
-    { VLC_CODEC_FL32, CODEC_ID_PCM_F32LE, AUDIO_ES },
-    { VLC_CODEC_FL64, CODEC_ID_PCM_F64LE, AUDIO_ES },
-#else
-    { VLC_CODEC_FL32, CODEC_ID_PCM_F32BE, AUDIO_ES },
-    { VLC_CODEC_FL64, CODEC_ID_PCM_F64BE, AUDIO_ES },
-#endif
+    { VLC_CODEC_F32L, CODEC_ID_PCM_F32LE, AUDIO_ES },
+    { VLC_CODEC_F64L, CODEC_ID_PCM_F64LE, AUDIO_ES },
+    { VLC_CODEC_F32B, CODEC_ID_PCM_F32BE, AUDIO_ES },
+    { VLC_CODEC_F64B, CODEC_ID_PCM_F64BE, AUDIO_ES },
 
     /* Subtitle streams */
     { VLC_CODEC_BD_PG, CODEC_ID_HDMV_PGS_SUBTITLE, SPU_ES },



More information about the vlc-commits mailing list