summaryrefslogtreecommitdiff
path: root/libavformat/au.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/au.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/au.c')
-rw-r--r--libavformat/au.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/au.c b/libavformat/au.c
index 1777747a92..055c59a22b 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -39,7 +39,7 @@ static const CodecTag codec_au_tags[] = {
{ 0, 0 },
};
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
/* AUDIO_FILE header */
static int put_au_header(ByteIOContext *pb, AVCodecContext *enc)
{
@@ -97,7 +97,7 @@ static int au_write_trailer(AVFormatContext *s)
return 0;
}
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
static int au_probe(AVProbeData *p)
{
@@ -188,7 +188,7 @@ static AVInputFormat au_iformat = {
pcm_read_seek,
};
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
static AVOutputFormat au_oformat = {
"au",
"SUN AU Format",
@@ -201,13 +201,13 @@ static AVOutputFormat au_oformat = {
au_write_packet,
au_write_trailer,
};
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
int au_init(void)
{
av_register_input_format(&au_iformat);
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
av_register_output_format(&au_oformat);
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
return 0;
}