summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-12-13 16:35:58 +0000
committerDiego Biurrun <diego@biurrun.de>2008-12-13 16:35:58 +0000
commit6d99b2285d1694377ee6f3658b119869208714b9 (patch)
treea69b2eb47931b86b49194e0aa5d9dd4649ef9d96 /libavformat/allformats.c
parent3445c7992b07de86581d402e91757baa939bb70d (diff)
cosmetics: Break some lines for a more aesthetically pleasing result.
Originally committed as revision 16106 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 1779477200..40a8be376c 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -22,15 +22,18 @@
#include "rtp_internal.h"
#include "rdt.h"
-#define REGISTER_MUXER(X,x) { extern AVOutputFormat x##_muxer; \
+#define REGISTER_MUXER(X,x) {
+ extern AVOutputFormat x##_muxer; \
if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer); }
-#define REGISTER_DEMUXER(X,x) { extern AVInputFormat x##_demuxer; \
+#define REGISTER_DEMUXER(X,x) {
+ extern AVInputFormat x##_demuxer; \
if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
#define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
-#define REGISTER_PROTOCOL(X,x) { extern URLProtocol x##_protocol; \
+#define REGISTER_PROTOCOL(X,x) {
+ extern URLProtocol x##_protocol; \
if(ENABLE_##X##_PROTOCOL) register_protocol(&x##_protocol); }
/* If you do not call this function, then you can select exactly which