Mercurial > libavformat.hg
diff ogg.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 | 26aaf3eed638 |
| children | 2ece9c9dd94c |
line wrap: on
line diff
--- a/ogg.c Wed Sep 21 23:09:16 2005 +0000 +++ b/ogg.c Fri Sep 23 00:25:41 2005 +0000 @@ -29,7 +29,7 @@ } OggContext ; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static int ogg_write_header(AVFormatContext *avfcontext) { OggContext *context = avfcontext->priv_data; @@ -149,7 +149,7 @@ 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 @@ #endif int libogg_init(void) { -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&ogg_oformat) ; #endif /* av_register_input_format(&ogg_iformat); */
