Commit 90c0c83e authored by Alex Converse's avatar Alex Converse

smacker: remove dead store

parent dac56d9c
...@@ -334,16 +334,14 @@ static av_always_inline void last_reset(int *recode, int *last) { ...@@ -334,16 +334,14 @@ static av_always_inline void last_reset(int *recode, int *last) {
/* get code and update history */ /* get code and update history */
static av_always_inline int smk_get_code(GetBitContext *gb, int *recode, int *last) { static av_always_inline int smk_get_code(GetBitContext *gb, int *recode, int *last) {
register int *table = recode; register int *table = recode;
int v, b; int v;
b = get_bits_count(gb);
while(*table & SMK_NODE) { while(*table & SMK_NODE) {
if(get_bits1(gb)) if(get_bits1(gb))
table += (*table) & (~SMK_NODE); table += (*table) & (~SMK_NODE);
table++; table++;
} }
v = *table; v = *table;
b = get_bits_count(gb) - b;
if(v != recode[last[0]]) { if(v != recode[last[0]]) {
recode[last[2]] = recode[last[1]]; recode[last[2]] = recode[last[1]];
......
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