From 0942aa463736e169c30270d3627c51c822ce58a7 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sun, 13 Jan 2013 21:34:03 +0100 Subject: [PATCH] lafv/matroska: add A_OPUS/EXPERIMENTAL codec name. The exact packing of Opus inside Matroska is not finalized. Use A_OPUS/EXPERIMENTAL as codec name, like mkvtoolnix. The A_OPUS name stays to let ffmpeg open files it has produced until now, but newly produced file use the EXPERIMENTAL version. Once the spec is stabilized it will be possible to consider options to ensure compatibility with these files. --- libavformat/matroska.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 930c609cd4..db9c2bb1ed 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -32,6 +32,7 @@ const CodecTags ff_mkv_codec_tags[]={ {"A_MPEG/L2" , AV_CODEC_ID_MP2}, {"A_MPEG/L1" , AV_CODEC_ID_MP2}, {"A_MPEG/L3" , AV_CODEC_ID_MP3}, + {"A_OPUS/EXPERIMENTAL",AV_CODEC_ID_OPUS}, {"A_OPUS", AV_CODEC_ID_OPUS}, {"A_PCM/FLOAT/IEEE" , AV_CODEC_ID_PCM_F32LE}, {"A_PCM/FLOAT/IEEE" , AV_CODEC_ID_PCM_F64LE},