matroska: add support for Opus.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 4 Jul 2012 14:36:56 +0000 (16:36 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Fri, 20 Jul 2012 09:19:01 +0000 (11:19 +0200)
Opus in Matroska is still a draft.

libavformat/matroska.c

index 52481d7..5e9a6ca 100644 (file)
@@ -31,6 +31,7 @@ const CodecTags ff_mkv_codec_tags[]={
     {"A_MPEG/L2"        , CODEC_ID_MP2},
     {"A_MPEG/L1"        , CODEC_ID_MP2},
     {"A_MPEG/L3"        , CODEC_ID_MP3},
+    {"A_OPUS",            CODEC_ID_OPUS},
     {"A_PCM/FLOAT/IEEE" , CODEC_ID_PCM_F32LE},
     {"A_PCM/FLOAT/IEEE" , CODEC_ID_PCM_F64LE},
     {"A_PCM/INT/BIG"    , CODEC_ID_PCM_S16BE},