Avoid using empty macro arguments.
These are not supported by all compilers (gcc 2.95 but also older SPARC compilers, see gcc bug #33304 for example), and there is no real need for them. One use of this feature remains in libavdevice/v4l2.c which can't be replaced quite as easily. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
@@ -60,7 +60,7 @@ static void arith_normalise(ArithCoder *c)
|
||||
}
|
||||
}
|
||||
|
||||
ARITH_GET_BIT()
|
||||
ARITH_GET_BIT(arith)
|
||||
|
||||
static int arith_get_bits(ArithCoder *c, int bits)
|
||||
{
|
||||
@@ -105,7 +105,7 @@ static int arith_get_prob(ArithCoder *c, int16_t *probs)
|
||||
return sym;
|
||||
}
|
||||
|
||||
ARITH_GET_MODEL_SYM()
|
||||
ARITH_GET_MODEL_SYM(arith)
|
||||
|
||||
static void arith_init(ArithCoder *c, GetBitContext *gb)
|
||||
{
|
||||
|
Reference in New Issue
Block a user