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/yuv4mpeg.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/yuv4mpeg.c')
-rw-r--r-- | libavformat/yuv4mpeg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c index 30fdc54db5..2078b63199 100644 --- a/libavformat/yuv4mpeg.c +++ b/libavformat/yuv4mpeg.c @@ -22,7 +22,7 @@ #define Y4M_FRAME_MAGIC "FRAME" #define Y4M_LINE_MAX 256 -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static int yuv4_generate_header(AVFormatContext *s, char* buf) { @@ -179,7 +179,7 @@ AVOutputFormat yuv4mpegpipe_oformat = { yuv4_write_trailer, .flags = AVFMT_RAWPICTURE, }; -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS /* Header size increased to allow room for optional flags */ #define MAX_YUV4_HEADER 80 @@ -393,9 +393,9 @@ AVInputFormat yuv4mpegpipe_iformat = { int yuv4mpeg_init(void) { av_register_input_format(&yuv4mpegpipe_iformat); -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&yuv4mpegpipe_oformat); -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS return 0; } |