diff options
author | David Conrad <lessen42@gmail.com> | 2007-09-05 00:24:19 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2007-09-05 00:24:19 +0000 |
commit | 55c151efb3c95136e34175320b2223eebb17f341 (patch) | |
tree | 8540ef456f0a7129acf7c86696d45d4c06a4107f /libavformat/matroskaenc.c | |
parent | c1f5aa2186186ccfac95255c001abb755857a788 (diff) | |
download | ffmpeg-55c151efb3c95136e34175320b2223eebb17f341.tar.gz |
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.c | 14 |
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}, +}; |