1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
Clément Bœsch 2013-01-02 06:05:55 +01:00 committed by Martin Storsjö
parent 7768a635c4
commit 3048fae63c
3 changed files with 3 additions and 9 deletions

View File

@ -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) \
{ \

View File

@ -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)
{

View File

@ -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) \
{ \