Mercurial > libavformat.hg
comparison allformats.c @ 4093:d0b3e91594a5 libavformat
cosmetics: Break some lines for a more aesthetically pleasing result.
author | diego |
---|---|
date | Sat, 13 Dec 2008 16:35:58 +0000 |
parents | 626b5bfb5aef |
children | d1ad76625df3 |
comparison
equal
deleted
inserted
replaced
4092:aea6eb7fd713 | 4093:d0b3e91594a5 |
---|---|
20 */ | 20 */ |
21 #include "avformat.h" | 21 #include "avformat.h" |
22 #include "rtp_internal.h" | 22 #include "rtp_internal.h" |
23 #include "rdt.h" | 23 #include "rdt.h" |
24 | 24 |
25 #define REGISTER_MUXER(X,x) { extern AVOutputFormat x##_muxer; \ | 25 #define REGISTER_MUXER(X,x) { |
26 extern AVOutputFormat x##_muxer; \ | |
26 if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer); } | 27 if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer); } |
27 | 28 |
28 #define REGISTER_DEMUXER(X,x) { extern AVInputFormat x##_demuxer; \ | 29 #define REGISTER_DEMUXER(X,x) { |
30 extern AVInputFormat x##_demuxer; \ | |
29 if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); } | 31 if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); } |
30 | 32 |
31 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) | 33 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) |
32 | 34 |
33 #define REGISTER_PROTOCOL(X,x) { extern URLProtocol x##_protocol; \ | 35 #define REGISTER_PROTOCOL(X,x) { |
36 extern URLProtocol x##_protocol; \ | |
34 if(ENABLE_##X##_PROTOCOL) register_protocol(&x##_protocol); } | 37 if(ENABLE_##X##_PROTOCOL) register_protocol(&x##_protocol); } |
35 | 38 |
36 /* If you do not call this function, then you can select exactly which | 39 /* If you do not call this function, then you can select exactly which |
37 formats you want to support */ | 40 formats you want to support */ |
38 | 41 |