Mercurial > libavformat.hg
diff swf.c @ 858:66cc656ea404 libavformat
Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.
| author | diego |
|---|---|
| date | Fri, 23 Sep 2005 00:25:41 +0000 |
| parents | feca73904e67 |
| children | da1d5db0ce5c |
line wrap: on
line diff
--- a/swf.c Wed Sep 21 23:09:16 2005 +0000 +++ b/swf.c Fri Sep 23 00:25:41 2005 +0000 @@ -148,7 +148,7 @@ return 1; } -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static void put_swf_tag(AVFormatContext *s, int tag) { SWFContext *swf = s->priv_data; @@ -691,7 +691,7 @@ return 0; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS /*********************************************/ /* Extract FLV encoded frame and MP3 from swf @@ -909,7 +909,7 @@ swf_read_close, }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static AVOutputFormat swf_oformat = { "swf", "Flash format", @@ -922,13 +922,13 @@ swf_write_packet, swf_write_trailer, }; -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS int swf_init(void) { av_register_input_format(&swf_iformat); -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&swf_oformat); -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS return 0; }
