From e4e4add0e3ba7d8ca8ed9135288da910270d2ea3 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 9 Dec 2012 13:17:52 +0100 Subject: Add raw VC-1 muxer to match demuxer. This is admittedly kind of pointless since usually -f image2pipe can be used for the purpose, but this is more user-friendly. Signed-off-by: Reimar Döffinger --- libavformat/rawenc.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libavformat/rawenc.c') diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index 0345f70e75..b804c24078 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -268,3 +268,15 @@ AVOutputFormat ff_truehd_muxer = { .flags = AVFMT_NOTIMESTAMPS, }; #endif + +#if CONFIG_VC1_MUXER +AVOutputFormat ff_vc1_muxer = { + .name = "vc1", + .long_name = NULL_IF_CONFIG_SMALL("raw VC-1 video"), + .extensions = "vc1", + .audio_codec = AV_CODEC_ID_NONE, + .video_codec = AV_CODEC_ID_VC1, + .write_packet = ff_raw_write_packet, + .flags = AVFMT_NOTIMESTAMPS, +}; +#endif -- cgit v1.2.3