From 626c1a33ed43c943b142f3357aaf369239cfe54a Mon Sep 17 00:00:00 2001 From: Alberto Delmás Date: Sun, 2 Sep 2012 12:44:21 +0200 Subject: mss12: reduce SliceContext size from 1067 to 164 KB Signed-off-by: Kostya Shishkov --- libavcodec/mss1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mss1.c') diff --git a/libavcodec/mss1.c b/libavcodec/mss1.c index 678208b09b..1591bba535 100644 --- a/libavcodec/mss1.c +++ b/libavcodec/mss1.c @@ -89,7 +89,7 @@ static int arith_get_number(ArithCoder *c, int mod_val) return val; } -static int arith_get_prob(ArithCoder *c, int *probs) +static int arith_get_prob(ArithCoder *c, int16_t *probs) { int range = c->high - c->low + 1; int val = ((c->value - c->low + 1) * probs[0] - 1) / range; -- cgit v1.2.3