diff allformats.c @ 4091:626b5bfb5aef libavformat

whitespace cosmetics
author diego
date Sat, 13 Dec 2008 13:39:13 +0000
parents 677bcb3b65cd
children d0b3e91594a5
line wrap: on
line diff
--- a/allformats.c	Sat Dec 13 13:11:42 2008 +0000
+++ b/allformats.c	Sat Dec 13 13:39:13 2008 +0000
@@ -22,16 +22,16 @@
 #include "rtp_internal.h"
 #include "rdt.h"
 
-#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; \
-          if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
+#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; \
+    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; \
-          if(ENABLE_##X##_PROTOCOL) register_protocol(&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
    formats you want to support */