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/nut.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavformat/nut.c') diff --git a/libavformat/nut.c b/libavformat/nut.c index 2d63cc7ba7..b33e4ca52b 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -394,7 +394,7 @@ static int64_t find_startcode(ByteIOContext *bc, uint64_t code, int64_t pos){ } } -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static void put_v(ByteIOContext *bc, uint64_t val) { @@ -843,7 +843,7 @@ static int nut_write_trailer(AVFormatContext *s) return 0; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS static int nut_probe(AVProbeData *p) { @@ -1430,7 +1430,7 @@ static AVInputFormat nut_iformat = { .extensions = "nut", }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static AVOutputFormat nut_oformat = { "nut", "nut format", @@ -1450,13 +1450,13 @@ static AVOutputFormat nut_oformat = { nut_write_trailer, .flags = AVFMT_GLOBALHEADER, }; -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS int nut_init(void) { av_register_input_format(&nut_iformat); -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&nut_oformat); -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS return 0; } -- cgit v1.2.3