Revision 49fb20cb libavdevice/alldevices.c

View differences:

libavdevice/alldevices.c
29 29

  
30 30
#define REGISTER_MUXER(X,x) { \
31 31
          extern AVOutputFormat x##_muxer; \
32
          if(ENABLE_##X##_MUXER)   av_register_output_format(&x##_muxer); }
32
          if(CONFIG_##X##_MUXER)   av_register_output_format(&x##_muxer); }
33 33
#define REGISTER_DEMUXER(X,x) { \
34 34
          extern AVInputFormat x##_demuxer; \
35
          if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
35
          if(CONFIG_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
36 36
#define REGISTER_MUXDEMUX(X,x)  REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
37 37

  
38 38
void avdevice_register_all(void)

Also available in: Unified diff