[FFmpeg-cvslog] smacker: remove dead store
Alex Converse
git at videolan.org
Fri Jan 27 02:26:08 CET 2012
ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Wed Jan 25 16:22:05 2012 -0800| [90c0c83e1421fe97d37cb83c46f4135de377c8e7] | committer: Alex Converse
smacker: remove dead store
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90c0c83e1421fe97d37cb83c46f4135de377c8e7
---
libavcodec/smacker.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index 0c7c405..1624e6a 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]];
More information about the ffmpeg-cvslog
mailing list