[vlc-commits] Add Opus FourCC

Rafaël Carré git at videolan.org
Tue Sep 4 00:04:08 CEST 2012


vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Mon Aug  6 22:56:03 2012 +0200| [91ed1b12745799f62e18f93e092cfb169822ac3e] | committer: Jean-Baptiste Kempf

Add Opus FourCC
(cherry picked from commit 3f17ad711a4b073ef27bf718740eaf8913be1c68)

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

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

 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 b3a9b1c..0d09519 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -246,6 +246,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 dad5f1e..18bd932 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1151,6 +1151,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