Commit f152a0b9 authored by James Zern's avatar James Zern

aom_read_primitive_refbilevel: rm some dead stores

BUG=aomedia:445

Change-Id: I8c24a2fc6557bcba83ae077f8a13a58795deda55
parent 71a37de8
......@@ -57,12 +57,10 @@ uint16_t aom_read_primitive_refbilevel(aom_reader *r, uint16_t n, uint16_t p,
assert(p > 0 && p <= n);
assert(ref < n);
int lolimit = ref - p / 2;
int hilimit = lolimit + p - 1;
const int hilimit = lolimit + p - 1;
if (lolimit < 0) {
lolimit = 0;
hilimit = p - 1;
} else if (hilimit >= n) {
hilimit = n - 1;
lolimit = n - p;
}
int v;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment