summaryrefslogtreecommitdiff
path: root/libavformat/ogg.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/ogg.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/ogg.c')
-rw-r--r--libavformat/ogg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ogg.c b/libavformat/ogg.c
index 58f7c505f6..41fa0d92e0 100644
--- a/libavformat/ogg.c
+++ b/libavformat/ogg.c
@@ -29,7 +29,7 @@ typedef struct OggContext {
} OggContext ;
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
static int ogg_write_header(AVFormatContext *avfcontext)
{
OggContext *context = avfcontext->priv_data;
@@ -149,7 +149,7 @@ static AVOutputFormat ogg_oformat = {
ogg_write_packet,
ogg_write_trailer,
} ;
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
#if 0
static int next_packet(AVFormatContext *avfcontext, ogg_packet *op) {
@@ -267,7 +267,7 @@ static AVInputFormat ogg_iformat = {
#endif
int libogg_init(void) {
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
av_register_output_format(&ogg_oformat) ;
#endif
/* av_register_input_format(&ogg_iformat); */