summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-01-02 06:05:55 +0100
committerMartin Storsjö <martin@martin.st>2013-01-03 15:11:25 +0200
commit3048fae63c990356f850bcabd9bb65a71faf6b0a (patch)
treef6bef4d63b9cf64ba47497ca8dc6da73ca266ee3 /libavformat/allformats.c
parent7768a635c4ea15a9f3b2a602cc6aac3e629e7480 (diff)
build: Avoid detecting bogus components named 'x'
The function find_things() in configure is confused by component registration calls as part of multiline macros defining combined component registration. Coalesce those macros into one line to work around the issue. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 9a5e2b74ef..34cf566b0f 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -39,9 +39,7 @@
av_register_input_format(&ff_##x##_demuxer); \
}
-#define REGISTER_MUXDEMUX(X, x) \
- REGISTER_MUXER(X, x); \
- REGISTER_DEMUXER(X,x)
+#define REGISTER_MUXDEMUX(X, x) REGISTER_MUXER(X, x); REGISTER_DEMUXER(X, x)
#define REGISTER_PROTOCOL(X, x) \
{ \