aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/alldevices.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 /libavdevice/alldevices.c
parent7768a635c4ea15a9f3b2a602cc6aac3e629e7480 (diff)
downloadffmpeg-3048fae63c990356f850bcabd9bb65a71faf6b0a.tar.gz
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 'libavdevice/alldevices.c')
-rw-r--r--libavdevice/alldevices.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavdevice/alldevices.c b/libavdevice/alldevices.c
index 5d419b0f40..155f7a8ee6 100644
--- a/libavdevice/alldevices.c
+++ b/libavdevice/alldevices.c
@@ -36,9 +36,7 @@
av_register_input_format(&ff_##x##_demuxer); \
}
-#define REGISTER_INOUTDEV(X, x) \
- REGISTER_OUTDEV(X, x); \
- REGISTER_INDEV(X, x)
+#define REGISTER_INOUTDEV(X, x) REGISTER_OUTDEV(X, x); REGISTER_INDEV(X, x)
void avdevice_register_all(void)
{