aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/smacker.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-01-25 16:22:05 -0800
committerAlex Converse <alex.converse@gmail.com>2012-01-26 10:17:04 -0800
commit90c0c83e1421fe97d37cb83c46f4135de377c8e7 (patch)
tree8ff70fadf4927505216f79cb1a695d8945641923 /libavcodec/smacker.c
parentdac56d9ce01eb9963f28f26b97a81db5cbd46c1c (diff)
downloadffmpeg-90c0c83e1421fe97d37cb83c46f4135de377c8e7.tar.gz
smacker: remove dead store
Diffstat (limited to 'libavcodec/smacker.c')
-rw-r--r--libavcodec/smacker.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index 0c7c40560f..1624e6ad0a 100644
--- a/libavcodec/smacker.c
+++ b/libavcodec/smacker.c
@@ -334,16 +334,14 @@ static av_always_inline void last_reset(int *recode, int *last) {
/* get code and update history */
static av_always_inline int smk_get_code(GetBitContext *gb, int *recode, int *last) {
register int *table = recode;
- int v, b;
+ int v;
- b = get_bits_count(gb);
while(*table & SMK_NODE) {
if(get_bits1(gb))
table += (*table) & (~SMK_NODE);
table++;
}
v = *table;
- b = get_bits_count(gb) - b;
if(v != recode[last[0]]) {
recode[last[2]] = recode[last[1]];