26 #define REGISTER_MUXER(X,x) { \
27 extern AVOutputFormat ff_##x##_muxer; \
28 if(CONFIG_##X##_MUXER) av_register_output_format(&ff_##x##_muxer); }
30 #define REGISTER_DEMUXER(X,x) { \
31 extern AVInputFormat ff_##x##_demuxer; \
32 if(CONFIG_##X##_DEMUXER) av_register_input_format(&ff_##x##_demuxer); }
34 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
36 #define REGISTER_PROTOCOL(X,x) { \
37 extern URLProtocol ff_##x##_protocol; \
38 if(CONFIG_##X##_PROTOCOL) ffurl_register_protocol(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); }
42 static int initialized;
void avcodec_register_all(void)
Register all the codecs, parsers and bitstream filters which were enabled at configuration time...
void av_register_rtp_dynamic_payload_handlers(void)
unbuffered private I/O API
void av_register_rdt_dynamic_payload_handlers(void)
Register RDT-related dynamic payload handlers with our cache.
void av_register_all(void)
Initialize libavformat and register all the muxers, demuxers and protocols.