[vlc-commits] Add Opus FourCC

Rafaël Carré git at videolan.org
Mon Aug 6 22:56:31 CEST 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Aug  6 22:56:03 2012 +0200| [3f17ad711a4b073ef27bf718740eaf8913be1c68] | committer: Rafaël Carré

Add Opus FourCC

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

 include/vlc_fourcc.h |    1 +
 src/misc/fourcc.c    |    3 +++
 2 files changed, 4 insertions(+)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 0306127..fd7b9ec 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -257,6 +257,7 @@
 #define VLC_CODEC_TRUEHD    VLC_FOURCC('t','r','h','d')
 #define VLC_CODEC_DVAUDIO   VLC_FOURCC('d','v','a','u')
 #define VLC_CODEC_SPEEX     VLC_FOURCC('s','p','x',' ')
+#define VLC_CODEC_OPUS      VLC_FOURCC('O','p','u','s')
 #define VLC_CODEC_VORBIS    VLC_FOURCC('v','o','r','b')
 #define VLC_CODEC_MACE3     VLC_FOURCC('M','A','C','3')
 #define VLC_CODEC_MACE6     VLC_FOURCC('M','A','C','6')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index e8f216f..bd876e9 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1201,6 +1201,9 @@ static const entry_t p_list_audio[] = {
     B(VLC_CODEC_VORBIS, "Vorbis Audio"),
         A("vorb"),
 
+    B(VLC_CODEC_OPUS, "Opus Audio"),
+        A("Opus"),
+
     B(VLC_CODEC_302M, "302M Audio"),
         A("302m"),
 



More information about the vlc-commits mailing list