From 3048fae63c990356f850bcabd9bb65a71faf6b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 2 Jan 2013 06:05:55 +0100 Subject: build: Avoid detecting bogus components named 'x' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Martin Storsjö --- libavdevice/alldevices.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavdevice') 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) { -- cgit v1.2.3