[vlc-devel] [PATCH 2/2] avcodec: add opus fourcc

Tristan Matthews le.businessman at gmail.com
Thu Sep 19 08:56:20 CEST 2013


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

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 3746ac8..9a5c3b5 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -311,6 +311,10 @@ static const struct
 
     { VLC_CODEC_DVAUDIO, AV_CODEC_ID_DVAUDIO, AUDIO_ES },
 
+#if LIBAVCODEC_VERSION_CHECK( 54, 29, 0, 60, 100 )
+    { VLC_CODEC_OPUS, AV_CODEC_ID_OPUS, AUDIO_ES },
+#endif
+
     { VLC_CODEC_MACE3, AV_CODEC_ID_MACE3, AUDIO_ES },
     { VLC_CODEC_MACE6, AV_CODEC_ID_MACE6, AUDIO_ES },
 
-- 
1.8.1.2




More information about the vlc-devel mailing list