Mercurial > libavformat.hg
diff asf-enc.c @ 1169:d18cc9a1fd02 libavformat
allow individual selection of muxers and demuxers
author | mru |
---|---|
date | Mon, 10 Jul 2006 21:14:37 +0000 |
parents | d89d7ef290da |
children | 6a5e58d2114b |
line wrap: on
line diff
--- a/asf-enc.c Mon Jul 10 12:10:10 2006 +0000 +++ b/asf-enc.c Mon Jul 10 21:14:37 2006 +0000 @@ -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 @@ return 0; } +#ifdef CONFIG_ASF_MUXER AVOutputFormat asf_muxer = { "asf", "asf format", @@ -840,7 +839,9 @@ asf_write_trailer, .flags = AVFMT_GLOBALHEADER, }; +#endif +#ifdef CONFIG_ASF_STREAM_MUXER AVOutputFormat asf_stream_muxer = { "asf_stream", "asf format", @@ -858,4 +859,4 @@ asf_write_trailer, .flags = AVFMT_GLOBALHEADER, }; -#endif //CONFIG_MUXERS +#endif //CONFIG_ASF_STREAM_MUXER