diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-09-23 00:25:41 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-09-23 00:25:41 +0000 |
commit | a9e350952992f07f4b560385185f406fbbb752d7 (patch) | |
tree | 05d33876774bc092ffee92ecabd160ae3dc2205c /libavformat/ffm.c | |
parent | 288f1e6815fc52196fd1f443d305a4822bf371a2 (diff) | |
download | ffmpeg-a9e350952992f07f4b560385185f406fbbb752d7.tar.gz |
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.
Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ffm.c')
-rw-r--r-- | libavformat/ffm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/ffm.c b/libavformat/ffm.c index 99e7e89b4e..730ba02398 100644 --- a/libavformat/ffm.c +++ b/libavformat/ffm.c @@ -56,7 +56,7 @@ static int64_t get_pts(AVFormatContext *s, offset_t pos); /* 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 @@ static int ffm_write_trailer(AVFormatContext *s) return 0; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS /* ffm demux */ @@ -763,7 +763,7 @@ static AVInputFormat ffm_iformat = { ffm_seek, }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static AVOutputFormat ffm_oformat = { "ffm", "ffm format", @@ -777,13 +777,13 @@ static AVOutputFormat ffm_oformat = { 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; } |