summaryrefslogtreecommitdiff
path: root/libavformat/sgi.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-09-23 00:25:41 +0000
committerDiego Biurrun <diego@biurrun.de>2005-09-23 00:25:41 +0000
commita9e350952992f07f4b560385185f406fbbb752d7 (patch)
tree05d33876774bc092ffee92ecabd160ae3dc2205c /libavformat/sgi.c
parent288f1e6815fc52196fd1f443d305a4822bf371a2 (diff)
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/sgi.c')
-rw-r--r--libavformat/sgi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/sgi.c b/libavformat/sgi.c
index bbf700bc4f..a6de0fffbd 100644
--- a/libavformat/sgi.c
+++ b/libavformat/sgi.c
@@ -260,7 +260,7 @@ static int sgi_read(ByteIOContext *f,
return 0; /* not reached */
}
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
static void write_sgi_header(ByteIOContext *f, const SGIInfo *info)
{
int i;
@@ -442,7 +442,7 @@ static int sgi_write(ByteIOContext *pb, AVImageInfo *info)
return 0;
}
-#endif // CONFIG_ENCODERS
+#endif // CONFIG_MUXERS
AVImageFormat sgi_image_format = {
"sgi",
@@ -450,9 +450,9 @@ AVImageFormat sgi_image_format = {
sgi_probe,
sgi_read,
(1 << PIX_FMT_GRAY8) | (1 << PIX_FMT_RGB24) | (1 << PIX_FMT_RGBA32),
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
sgi_write,
#else
NULL,
-#endif // CONFIG_ENCODERS
+#endif // CONFIG_MUXERS
};