summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-14 17:19:17 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-14 17:19:17 +0000
commit49fb20cb8a5da4250c978bd8cea8bd841dc0594f (patch)
tree142746aa8ae9cf412da3a61ac287c4d9deb7ca22 /libavformat/allformats.c
parent7356aaa78626b34c3b2779c7af84c92111025ebf (diff)
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 387189a178..1f695d1f31 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -24,17 +24,17 @@
#define REGISTER_MUXER(X,x) { \
extern AVOutputFormat x##_muxer; \
- if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer); }
+ if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); }
#define REGISTER_DEMUXER(X,x) { \
extern AVInputFormat x##_demuxer; \
- if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
+ if(CONFIG_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
#define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
#define REGISTER_PROTOCOL(X,x) { \
extern URLProtocol x##_protocol; \
- if(ENABLE_##X##_PROTOCOL) register_protocol(&x##_protocol); }
+ if(CONFIG_##X##_PROTOCOL) register_protocol(&x##_protocol); }
/* If you do not call this function, then you can select exactly which
formats you want to support */