summaryrefslogtreecommitdiff
path: root/libavformat/swf.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/swf.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/swf.c')
-rw-r--r--libavformat/swf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c
index 923a4f9934..258bb2fdb7 100644
--- a/libavformat/swf.c
+++ b/libavformat/swf.c
@@ -148,7 +148,7 @@ static int swf_mp3_info(void *data, int *byteSize, int *samplesPerFrame, int *sa
return 1;
}
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
static void put_swf_tag(AVFormatContext *s, int tag)
{
SWFContext *swf = s->priv_data;
@@ -691,7 +691,7 @@ static int swf_write_trailer(AVFormatContext *s)
return 0;
}
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
/*********************************************/
/* Extract FLV encoded frame and MP3 from swf
@@ -909,7 +909,7 @@ static AVInputFormat swf_iformat = {
swf_read_close,
};
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
static AVOutputFormat swf_oformat = {
"swf",
"Flash format",
@@ -922,13 +922,13 @@ static AVOutputFormat swf_oformat = {
swf_write_packet,
swf_write_trailer,
};
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
int swf_init(void)
{
av_register_input_format(&swf_iformat);
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
av_register_output_format(&swf_oformat);
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
return 0;
}