From 55c151efb3c95136e34175320b2223eebb17f341 Mon Sep 17 00:00:00 2001 From: David Conrad Date: Wed, 5 Sep 2007 00:24:19 +0000 Subject: [PATCH] Add mka muxer Originally committed as revision 10344 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskaenc.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 52ee884f2c..a9104d4f3b 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -689,3 +689,17 @@ AVOutputFormat matroska_muxer = { mkv_write_trailer, .codec_tag = (const AVCodecTag*[]){codec_bmp_tags, codec_wav_tags, 0}, }; + +AVOutputFormat matroska_audio_muxer = { + "matroska", + "Matroska File Format", + "audio/x-matroska", + "mka", + sizeof(MatroskaMuxContext), + CODEC_ID_MP2, + CODEC_ID_NONE, + mkv_write_header, + mkv_write_packet, + mkv_write_trailer, + .codec_tag = (const AVCodecTag*[]){codec_wav_tags, 0}, +};