diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
commit | ff70e60176056daf646109b8e42654a3036fa02b (patch) | |
tree | 42e32d1e4bff334964cf93766ff2da6ee9a8f1d3 /libavformat/asf-enc.c | |
parent | 4cac0d5589ab1a076e977425925015f2c8e591a8 (diff) | |
download | ffmpeg-ff70e60176056daf646109b8e42654a3036fa02b.tar.gz |
allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf-enc.c')
-rw-r--r-- | libavformat/asf-enc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavformat/asf-enc.c b/libavformat/asf-enc.c index 670e5a9d81..d8cc28a2c0 100644 --- a/libavformat/asf-enc.c +++ b/libavformat/asf-enc.c @@ -23,8 +23,6 @@ #undef NDEBUG #include <assert.h> -#ifdef CONFIG_MUXERS - #define ASF_INDEXED_INTERVAL 10000000 #define ASF_INDEX_BLOCK 600 @@ -823,6 +821,7 @@ static int asf_write_trailer(AVFormatContext *s) return 0; } +#ifdef CONFIG_ASF_MUXER AVOutputFormat asf_muxer = { "asf", "asf format", @@ -840,7 +839,9 @@ AVOutputFormat asf_muxer = { asf_write_trailer, .flags = AVFMT_GLOBALHEADER, }; +#endif +#ifdef CONFIG_ASF_STREAM_MUXER AVOutputFormat asf_stream_muxer = { "asf_stream", "asf format", @@ -858,4 +859,4 @@ AVOutputFormat asf_stream_muxer = { asf_write_trailer, .flags = AVFMT_GLOBALHEADER, }; -#endif //CONFIG_MUXERS +#endif //CONFIG_ASF_STREAM_MUXER |