diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-12-30 12:10:35 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-12-31 12:19:59 +0100 |
commit | cbeaf678889baeaac0776305f3ca289318a1aca7 (patch) | |
tree | 41f22c79242b6bf67525395fd581dc2103976c6f /libavcodec/mss1.c | |
parent | 7fdf245ab9cb06b7195b8554e0b56f0835d1a142 (diff) | |
download | ffmpeg-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/mss1.c')
-rw-r--r-- | libavcodec/mss1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mss1.c b/libavcodec/mss1.c index fc88eb0fd9..6bb524bc48 100644 --- a/libavcodec/mss1.c +++ b/libavcodec/mss1.c @@ -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) { |