summaryrefslogtreecommitdiff
path: root/libavcodec/mss2.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-12-30 12:10:35 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-12-31 12:19:59 +0100
commitcbeaf678889baeaac0776305f3ca289318a1aca7 (patch)
tree41f22c79242b6bf67525395fd581dc2103976c6f /libavcodec/mss2.c
parent7fdf245ab9cb06b7195b8554e0b56f0835d1a142 (diff)
downloadffmpeg-cbeaf678889baeaac0776305f3ca289318a1aca7.tar.gz
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>
Diffstat (limited to 'libavcodec/mss2.c')
-rw-r--r--libavcodec/mss2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c
index 99db046f03..86a6dcb93f 100644
--- a/libavcodec/mss2.c
+++ b/libavcodec/mss2.c
@@ -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)
{