[vlc-commits] Support WMA Lossless with recent enough libavcodec

Jean-Baptiste Kempf git at videolan.org
Tue Mar 27 22:49:43 CEST 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar  8 13:08:08 2012 +0100| [2e90c9490b52d1247eb45e5a822aabda9829a2c4] | committer: Jean-Baptiste Kempf

Support WMA Lossless with recent enough libavcodec
(cherry picked from commit bc368cb418feb3c5ce8a1afd1699cad3fbf00acf)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/avcodec/fourcc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index c63b554..292faf7 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -397,6 +397,10 @@ static const struct
     { VLC_CODEC_TRUEHD, CODEC_ID_TRUEHD, AUDIO_ES },
     { VLC_CODEC_MLP, CODEC_ID_MLP, AUDIO_ES },
 
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 5, 0 )
+    { VLC_CODEC_WMAL, CODEC_ID_WMALOSSLESS, AUDIO_ES },
+#endif
+
 
     /* PCM */
     { VLC_CODEC_S8, CODEC_ID_PCM_S8, AUDIO_ES },



More information about the vlc-commits mailing list