Mercurial > libavformat.hg
diff yuv4mpeg.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 | 128838bc4bb6 |
children | da1d5db0ce5c |
line wrap: on
line diff
--- a/yuv4mpeg.c Wed Sep 21 23:09:16 2005 +0000 +++ b/yuv4mpeg.c Fri Sep 23 00:25:41 2005 +0000 @@ -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 @@ 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 @@ 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; }