Revision 8a9572c2 libavformat/allformats.c

View differences:

libavformat/allformats.c
22 22
#include "rtp_internal.h"
23 23
#include "rdt.h"
24 24

  
25
#define REGISTER_MUXER(X,x) {
25
#define REGISTER_MUXER(X,x) { \
26 26
    extern AVOutputFormat x##_muxer; \
27 27
    if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer); }
28 28

  
29
#define REGISTER_DEMUXER(X,x) {
29
#define REGISTER_DEMUXER(X,x) { \
30 30
    extern AVInputFormat x##_demuxer; \
31 31
    if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
32 32

  
33 33
#define REGISTER_MUXDEMUX(X,x)  REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
34 34

  
35
#define REGISTER_PROTOCOL(X,x) {
35
#define REGISTER_PROTOCOL(X,x) { \
36 36
    extern URLProtocol x##_protocol; \
37 37
    if(ENABLE_##X##_PROTOCOL) register_protocol(&x##_protocol); }
38 38

  

Also available in: Unified diff