diff options
author | Alberto Delmás <adelmas@gmail.com> | 2012-09-02 12:44:21 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-09-03 14:39:37 +0200 |
commit | 626c1a33ed43c943b142f3357aaf369239cfe54a (patch) | |
tree | e75b36dda3b7d41042122f092d4eb70df2662ef3 /libavcodec/mss2.c | |
parent | a97ee41bee60b2075c84e2ce6bb441304698744c (diff) | |
download | ffmpeg-626c1a33ed43c943b142f3357aaf369239cfe54a.tar.gz |
mss12: reduce SliceContext size from 1067 to 164 KB
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Diffstat (limited to 'libavcodec/mss2.c')
-rw-r--r-- | libavcodec/mss2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c index e4c854a01e..ce3cfb8a7a 100644 --- a/libavcodec/mss2.c +++ b/libavcodec/mss2.c @@ -106,7 +106,7 @@ static int arith2_get_number(ArithCoder *c, int n) return val; } -static int arith2_get_prob(ArithCoder *c, int *probs) +static int arith2_get_prob(ArithCoder *c, int16_t *probs) { int range = c->high - c->low + 1, n = *probs; int scale = av_log2(range) - av_log2(n); |