24 #define REGISTER_OUTDEV(X, x) \
26 extern AVOutputFormat ff_##x##_muxer; \
27 if (CONFIG_##X##_OUTDEV) \
28 av_register_output_format(&ff_##x##_muxer); \
31 #define REGISTER_INDEV(X, x) \
33 extern AVInputFormat ff_##x##_demuxer; \
34 if (CONFIG_##X##_INDEV) \
35 av_register_input_format(&ff_##x##_demuxer); \
38 #define REGISTER_INOUTDEV(X, x) REGISTER_OUTDEV(X, x); REGISTER_INDEV(X, x)
42 static int initialized;
void avdevice_register_all(void)
Initialize libavdevice and register all the input and output devices.
Main libavdevice API header.
#define REGISTER_OUTDEV(X, x)
GDI Device Demuxer context.
#define REGISTER_INDEV(X, x)
#define REGISTER_INOUTDEV(X, x)