aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.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 /libavcodec/allcodecs.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 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c4
1 files changed, 1 insertions, 3 deletions
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) \
{ \