From a9e350952992f07f4b560385185f406fbbb752d7 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 23 Sep 2005 00:25:41 +0000 Subject: 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 --- libavformat/rm.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavformat/rm.c') diff --git a/libavformat/rm.c b/libavformat/rm.c index 4568f4f1d2..683fcc9580 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -44,7 +44,7 @@ typedef struct { int remaining_len; } RMContext; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static void put_str(ByteIOContext *s, const char *tag) { put_be16(s,strlen(tag)); @@ -443,7 +443,7 @@ static int rm_write_trailer(AVFormatContext *s) put_flush_packet(pb); return 0; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS /***************************************************/ @@ -969,7 +969,7 @@ static AVInputFormat rm_iformat = { rm_read_dts, }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static AVOutputFormat rm_oformat = { "rm", "rm format", @@ -982,13 +982,13 @@ static AVOutputFormat rm_oformat = { rm_write_packet, rm_write_trailer, }; -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS int rm_init(void) { av_register_input_format(&rm_iformat); -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&rm_oformat); -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS return 0; } -- cgit v1.2.3