mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-13 04:24:49 +08:00
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:
@@ -54,7 +54,7 @@ static void arith2_normalise(ArithCoder *c)
|
||||
}
|
||||
}
|
||||
|
||||
ARITH_GET_BIT(2)
|
||||
ARITH_GET_BIT(arith2)
|
||||
|
||||
/* L. Stuiver and A. Moffat: "Piecewise Integer Mapping for Arithmetic Coding."
|
||||
* In Proc. 8th Data Compression Conference (DCC '98), pp. 3-12, Mar. 1998 */
|
||||
@@ -127,7 +127,7 @@ static int arith2_get_prob(ArithCoder *c, int16_t *probs)
|
||||
return i;
|
||||
}
|
||||
|
||||
ARITH_GET_MODEL_SYM(2)
|
||||
ARITH_GET_MODEL_SYM(arith2)
|
||||
|
||||
static int arith2_get_consumed_bytes(ArithCoder *c)
|
||||
{
|
||||
|
Reference in New Issue
Block a user