summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2007-09-05 00:24:19 +0000
committerDavid Conrad <lessen42@gmail.com>2007-09-05 00:24:19 +0000
commit55c151efb3c95136e34175320b2223eebb17f341 (patch)
tree8540ef456f0a7129acf7c86696d45d4c06a4107f /libavformat/matroskaenc.c
parentc1f5aa2186186ccfac95255c001abb755857a788 (diff)
Add mka muxer
Originally committed as revision 10344 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r--libavformat/matroskaenc.c14
1 files changed, 14 insertions, 0 deletions
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},
+};