Mercurial > libavformat.hg
diff ffm.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 | e8b4454b997d |
| children | aa0abab5e320 |
line wrap: on
line diff
--- a/ffm.c Wed Sep 21 23:09:16 2005 +0000 +++ b/ffm.c Fri Sep 23 00:25:41 2005 +0000 @@ -56,7 +56,7 @@ /* disable pts hack for testing */ int ffm_nopts = 0; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static void flush_packet(AVFormatContext *s) { FFMContext *ffm = s->priv_data; @@ -294,7 +294,7 @@ return 0; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS /* ffm demux */ @@ -763,7 +763,7 @@ ffm_seek, }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static AVOutputFormat ffm_oformat = { "ffm", "ffm format", @@ -777,13 +777,13 @@ ffm_write_packet, ffm_write_trailer, }; -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS int ffm_init(void) { av_register_input_format(&ffm_iformat); -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&ffm_oformat); -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS return 0; }
