diff sgi.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 0b52743104ac
children da1d5db0ce5c
line wrap: on
line diff
--- a/sgi.c	Wed Sep 21 23:09:16 2005 +0000
+++ b/sgi.c	Fri Sep 23 00:25:41 2005 +0000
@@ -260,7 +260,7 @@
     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 @@
 
     return 0;
 }
-#endif // CONFIG_ENCODERS
+#endif // CONFIG_MUXERS
 
 AVImageFormat sgi_image_format = {
     "sgi",
@@ -450,9 +450,9 @@
     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
 };