From 3048fae63c990356f850bcabd9bb65a71faf6b0a Mon Sep 17 00:00:00 2001 From: Clément Bœsch 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ö --- libavcodec/allcodecs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavcodec/allcodecs.c') diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 878d3de3bc..5786719692 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -48,9 +48,7 @@ avcodec_register(&ff_##x##_decoder); \ } -#define REGISTER_ENCDEC(X, x) \ - REGISTER_ENCODER(X, x); \ - REGISTER_DECODER(X,x) +#define REGISTER_ENCDEC(X, x) REGISTER_ENCODER(X, x); REGISTER_DECODER(X, x) #define REGISTER_PARSER(X, x) \ { \ -- cgit v1.2.3